-
hi, I'm taking on a program that is going to require choosing file destinations and selecting files for a few diffrent purposes, and this is the first time that ive ever gotten into something like this because i havent been programing long and i was hoping that somebody would have some suggestions on what i might do...just any kind of general feed back...well thanks to anybody that responds...
matt
-
Try using FileListBox
if succesful add punch to ur program with
Drivelistbox
and also directorylistbox
-
i guess i should have been more specific...i got the basic form with the filelist box dir box and the drive list...but how do i make this form more multipurpose...right now all i can do with it is select files and pass that file to one certain sub...but how do i make it so it will pass the file to whatever it is that pulled the box up?
well i hope this illustrates my problem a little better...
-
Ok...
First, make a standard form.
Then, goto the toolbar and select the "Directory List" object.
Just place it where you want it.
Then create a "File List" object. If you want it to only open certain files then change the "pattern" property to *.(application extension)*.
Finally, place a command box.
Name your directory list DirList and your file list FileList. Your command box is going to be called open_file.
Then just plug in this code:
Private Sub DirList_Change()
FileList.Path = DirList.Path
End Sub
Private Sub open_file_Click()
FilePath = DirList.Path + "/" + FileList
Shell "Notepad.exe " & FilePath, vbNormal
End Sub
(Sorry, I guess I misunderstood what you were trying to do.)
[Edited by Baron_Fel on 04-05-2000 at 05:12 PM]
[Edited by Baron_Fel on 04-05-2000 at 05:13 PM]