Return file as string

  • Thread starter Thread starter Microsoft
  • Start date Start date
M

Microsoft

Is there a way in vb.net to have the user browse to a file and return that
file's name and path as strings?
 
Microsoft said:
Is there a way in vb.net to have the user browse to a file and return that
file's name and path as strings?

Try OpenFileDialog.FileName

Niki
 
* "Microsoft said:
Is there a way in vb.net to have the user browse to a file and return that
file's name and path as strings?

You will find a component called OpenFileDialog in the toolbox.
 
Also, the system.IO.FileInfo class has some nice methods and properties.

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top