FollowHyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Good day,

I have a Form that lists the files in a directory. Form Name = Form1
The List box name = List0

I would like to have the an event that onDbl Click it opens the file that
the user double clicks on in the list box

Any help would be great. Thanks
 
Okay I got it to work somewhat. It opens the loation but not the file itself.
My Code is as follows:

Private Sub List0_DblClick(Cancel As Integer)

Me.Application.FollowHyperlink ("P:\"), "", -1, False, , , 0

End Sub

Any help would be greatly appreciated.
Thanks
K
 
Back
Top