Valleriani
asked on
VB6 - Browse to file
I wanted to know if theres a way to browse to a file using a button in VB6.
For example:
I have a string that goes to "C:\foldername\test.txt".. I hit the browse button to go to that file, which should open the explorer and browse to that file, basicly.
How could this be possible for VB6? Thanks!
For example:
I have a string that goes to "C:\foldername\test.txt"..
How could this be possible for VB6? Thanks!
ASKER
I'm confused here. Isn't common dialog for opening and saving files?
What I'm aiming to do is when a file is created via my program, I want a browse button so they can hit the button, and it will open up explorer and point to the file, much like when you download a file from the internet, I think FF and opera have it, where you can right click it and 'browse to file' and it will open explorer to the file, ready to be opened or deleted, whatever you want really.
What I'm aiming to do is when a file is created via my program, I want a browse button so they can hit the button, and it will open up explorer and point to the file, much like when you download a file from the internet, I think FF and opera have it, where you can right click it and 'browse to file' and it will open explorer to the file, ready to be opened or deleted, whatever you want really.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Bloody hell, that easy... Thanks, worked great!
ASKER
Simple!
http://www.vb6.us/tutorials/common-dialogs-vb-tutorial