Click here to Skip to main content
15,914,323 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralXML Bulk Insert Question Pin
archangel7173-Jan-08 6:25
archangel7173-Jan-08 6:25 
QuestionRandom Form Pin
Mr. Wonderful3-Jan-08 6:13
Mr. Wonderful3-Jan-08 6:13 
GeneralRe: Random Form Pin
Christian Graus3-Jan-08 10:38
protectorChristian Graus3-Jan-08 10:38 
GeneralDisable radio button Pin
kjosh3-Jan-08 5:49
kjosh3-Jan-08 5:49 
GeneralRe: Disable radio button Pin
Not Active3-Jan-08 6:26
mentorNot Active3-Jan-08 6:26 
Questionfiltering data into two dropDown List accrosse two pages or More ! [modified] Pin
Mr. Wonderful3-Jan-08 5:42
Mr. Wonderful3-Jan-08 5:42 
QuestionQuestion about listing directories from client machine [modified] Pin
TechnoSpike3-Jan-08 4:41
TechnoSpike3-Jan-08 4:41 
GeneralRe: Question about listing directories from client machine Pin
Colin Angus Mackay3-Jan-08 5:08
Colin Angus Mackay3-Jan-08 5:08 
TechnoSpike wrote:
Is this possible, at all? If it is, how can I achieve this? Can I make this using "regular" asp.net, or "hell no!"?


You would need to create some kind of ActiveX control. The user would then need to install it, which means they would have to trust you.


TechnoSpike wrote:
For example, I can't run a command like this

Dim drives As String() = Directory.GetLogicalDrives()

in a way that it lists the drives of the PC of the client that is accessing the webpage, can I?


That isn't possible. It will return the details of the server drives, not the client drives. (Hopefully, for the obvious reason that it is running on the server)


TechnoSpike wrote:
If this can't be done by "regular" code, how could I do it? ActiveX? Ajax? I haven't worked with any of these technologies so I'm really just wondering here...


It depends what you mean by "reglar" code. You create an ActiveX control in "regular" code - There is nothing all that special to it. Did you mean ".NET" code?

Ajax runs in a sandbox in order to protect the computer it is running on, so it would not have access to such information.

ActiveX doesn't have a good security model so it can access that kind of information. Although you still have to persuade the user to install the ActiveX controls in the first place.

TechnoSpike wrote:
I would appreciate if somebody could please direct me to a direction, an article or something that would enlighten me on what and how to do this.


Unfortunately I can't. It has been about 10 years since I last created an ActiveX control (in C++).


GeneralRe: Question about listing directories from client machine Pin
TechnoSpike3-Jan-08 5:34
TechnoSpike3-Jan-08 5:34 
GeneralRe: Question about listing directories from client machine Pin
Colin Angus Mackay3-Jan-08 5:51
Colin Angus Mackay3-Jan-08 5:51 
GeneralRe: Question about listing directories from client machine Pin
TechnoSpike3-Jan-08 6:05
TechnoSpike3-Jan-08 6:05 
GeneralRe: Question about listing directories from client machine Pin
Colin Angus Mackay3-Jan-08 8:13
Colin Angus Mackay3-Jan-08 8:13 
GeneralStatic Classes Pin
Civic063-Jan-08 3:11
Civic063-Jan-08 3:11 
GeneralRe: Static Classes Pin
Colin Angus Mackay3-Jan-08 3:47
Colin Angus Mackay3-Jan-08 3:47 
GeneralRe: Static Classes Pin
Civic063-Jan-08 4:00
Civic063-Jan-08 4:00 
GeneralRe: Static Classes Pin
Colin Angus Mackay3-Jan-08 4:24
Colin Angus Mackay3-Jan-08 4:24 
QuestionI want to retrive the name of user who is accessing the file Pin
Abhijit Jana3-Jan-08 2:43
professionalAbhijit Jana3-Jan-08 2:43 
GeneralRe: I want to retrive the name of user who is accessing the file Pin
Michael Sync3-Jan-08 15:13
Michael Sync3-Jan-08 15:13 
QuestionA Big Problem In Frame application.... Pin
SubramanyamR3-Jan-08 2:22
professionalSubramanyamR3-Jan-08 2:22 
GeneralRe: A Big Problem In Frame application.... Pin
Vasudevan Deepak Kumar3-Jan-08 3:41
Vasudevan Deepak Kumar3-Jan-08 3:41 
GeneralProblems in File download Pin
satyaki mishra3-Jan-08 1:25
satyaki mishra3-Jan-08 1:25 
GeneralRe: Problems in File download Pin
Abhijit Jana3-Jan-08 2:30
professionalAbhijit Jana3-Jan-08 2:30 
QuestionRe: Problems in File download Pin
Vasudevan Deepak Kumar3-Jan-08 3:33
Vasudevan Deepak Kumar3-Jan-08 3:33 
Questionhow to convert a string date to date in the format of dd/MM/yyyy Pin
jagan1233-Jan-08 1:24
jagan1233-Jan-08 1:24 
AnswerRe: how to convert a string date to date in the format of dd/MM/yyyy Pin
Sonia Gupta3-Jan-08 1:26
Sonia Gupta3-Jan-08 1:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.