Fill the listbox only with file name

Private Sub lstFiles_DblClick(Cancel As Integer)

fShellExecute Me.lstFiles

End Sub
Thank again
Yup! Trying to open a file with using just the filename won't work. Also, since my demo lists all the files in a folder and its subfolders, you could have duplicate filenames showing in the listbox. Double-clicking on any of them wouldn't specify which one to open. That's why you need the whole path.
 
Not really hard to add an extra column? :(
Not really hard to add an extra column? :(

Means that you didn't understand what exactly is the issue..! Anyway, thank for your interest..

(Please read all the communication with theDBguy and MajP..)
 
Not really hard to add an extra column? :(

Means that you didn't understand what exactly is the issue..! Anyway, thank for your interest..

(Please read all the communication with theDBguy and MajP..)
Well theDBguy managed it?
 

Users who are viewing this thread

Back
Top Bottom