Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DriveListBoxes, DirListBoxes and FileListBoxes 1

Status
Not open for further replies.

Stretchwickster

Programmer
Apr 30, 2001
1,746
0
0
GB
Wondered if anyone could help. I have 1 DriveListBox, 1 DirListBox and 1 FileListBox on a VB form. I'm creating a very simple prototype interface so i just need to synchronize the three list boxes so it looks like i can select a drive, and from that drive select a directory, and from that directory select a file.
 
This works under VB6:
[tt]
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
[/tt]
You didn't mention the version....
VCA.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top