2
Reply

getting the path of a file using the file upload control

Charles p

Charles p

Aug 25 2008 2:25 PM
4.7k

Hi All,

I am working in a enviroment were everyone has access to all the same servers and files and they are mapped on everyones computer, but the mapping may be diffrent.  What I want to do is use the fileUpload control to have the user find the file and then I want to put the files path and file name into a variable.  I dont want the actual file, just its path.  Can someone help me out with this?  or should i just create a control myself?  Back in vb6, i would have used commondialogbox, but i havent looked at doing it that way here and dont know if you still can, but i seen the nifty little fileupload control and thought I could probably just use it.

I am using vb.net2005

 

Thanks in advance,

Charles


Answers (2)