If you are using .NET 2003 then you can use one of the control that builtin with it. I am assuming you are using VB.NET. Folderbrowserdialog control but be very careful when using this module. It contains a bug that will crash your app if the directory path longer than 135 characters (not everytime though). So it is fairly unpredictable when it crashs. Otherwise, you can use some of the browseforfolder class that will do it much better job but require some code change.
Hmm.. i thought it would be simplier to do. I just want it to, when clicked actually Open the folder, not inside my program, but as if you double clicked it on your desktop.
Oh, ill try that. So by putting a path such as, Application.StartupPath & "\Program Files\Folder", it would cause it to open the folder called "folder"?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.