Total Linkage

I want to link a combo box, drive box and a drectory list so that they work somewhat like windows explorer. The combo box is for files.
R_N_WARDAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Place a DriveListBox, a DirListBox and a FileListBox control on a form and add the following code:

Private Sub Dir1_Change()
    File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
    Dir1.Path = Drive1.Drive
End Sub

By the way, 5 points is not "regular" here!!!
0
R_N_WARDAuthor Commented:
Adjusted points to 10
0
R_N_WARDAuthor Commented:
Sorry bout the points. All I had at the time. (I ask alot of questions)
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

R_N_WARDAuthor Commented:
emoreau, I punch in the code, but I receved a run time error '424' --object required--
0
Éric MoreauSenior .Net ConsultantCommented:
Did you place the right controls? There is not combo box in the sample that I gave you.
0
R_N_WARDAuthor Commented:
Yes. that was it. It Works Now. If you want, you  can wait till I have at least 20 points to give you for your answer. (A+)
0
R_N_WARDAuthor Commented:
Got a new prob. How do I run the file selected in the filelistbox once the user clicks command1?
0
Éric MoreauSenior .Net ConsultantCommented:
As you wish! It is your points. This one was easy so accept it today in order to ask some more questions.
0
Éric MoreauSenior .Net ConsultantCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.