visualbasicuser Posted January 21, 2004 Posted January 21, 2004 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 Quote
tate Posted January 21, 2004 Posted January 21, 2004 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). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.