VB code to allow end user to select path and folder to run code on.

Question by free2run Reward: 100 Pond Points + 10 Knowledge Tokens Status: Pending a resolution
I need some help writing the code that will allow the end user to select the directory path and the file to run some code on.



Reply from Dave User Rating:  84 Knowledge Tokens
There should already be an object in VB that handles directory and file navigation. Add that and it will handle it for you and return the path and filename that the user selected.
Reply Rating: 0    


Reply from Dave User Rating:  84 Knowledge Tokens
The object is called folderbrowserdialog. Here is agood tutorial on it
http://www.ssware.com/articles/folderbrowserdialog-unmasked-everything-you-wanted-to-know-about-the-folder-browser-component-from-dotnet-framework.htm

It is roughly used the same way regardless of which version of vb you are using.
Reply Rating: 0    

Click here to begin asking FREE questions


Although this question is closed, you can still post comments for others to read.



Some other Computers questions you may be interested in: Your Reward:
pc games on win. vista 25 Points
need advice on building a computer 25 Points
older compaq laptop problem 25 Points
apple vs. pc for new computer 25 Points
Will Windows 2003 Server support the ... 25 Points


Information provided on AnswerPond.com is not intended to substitute for informed expert medical, psychiatric, psychological, tax, legal, computer, investment, accounting, or other professional advice. For questions that require professional advice, please consult a qualified provider who is licensed in your state or country.