Public Sub OpenDocument(DocPath As String)
Dim A As Long
A = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler " & DocPath, vbMaximizedFocus)
End Sub
Private Sub FileList_DblClick()
OpenDocument (Address.Text)
End Sub
I got the OpenDocument sub from the FAQs. I can't get the file to open when it is selected and the ENTER button is pushed, I can get it to work with other buttons though.
Any ideas?
Dim A As Long
A = Shell("RUNDLL32.EXE URL.DLL,FileProtocolHandler " & DocPath, vbMaximizedFocus)
End Sub
Private Sub FileList_DblClick()
OpenDocument (Address.Text)
End Sub
I got the OpenDocument sub from the FAQs. I can't get the file to open when it is selected and the ENTER button is pushed, I can get it to work with other buttons though.
Any ideas?