Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am writing an application that processes a generic text file. My application will be loaded on several different PCs, so the location of the file to be processed may have a different path or filename, depending on the user's preference.

 

What I have is a simple textbox were the user can type in the path & filename of the file to be processed. But I want to make it more convenient for the user by having a "Browse" button they can click and select the path/filename, instead of having to type it in manually. How can I set up a "Browse" function like this?

 

Thanks,

 

Visualbasicuser

Posted
Read up on the OpenFileDialog control. Use this control in place of your text box input. For example, add a menu control and set it up similiar to any MS application (i.e.. File>Open).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...