FollowHyperlink

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top