By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,334 Members | 2,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,334 IT Pros & Developers. It's quick & easy.

Buttons to adjust Directorys

P: 4
Hi there, i have a program that i am using to display screenshots, currently the user must navigate through a DriveList, DirectoryList and FileList box to find the file they want.

My question is, is it possible to create say... 3 buttons that will take the user to a place in the overall directory automatically.


I need to get to C:/Documents and Settings/Admin/Desktop and instead of doing it by clicking a drive, then going through each folder i can just press a button that will automatically take me to the location i need, updating the list boxes too.

I'm using VB6

Help greatly appreciated.
May 2 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,434
Sure. If you want to change the "current" directory, when the user clicks your button, just use ChDrive and ChDir statements.

Or, just set the Drive and Path properties of the drive and directory listboxes.
May 3 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.