M
malycom
Hi
I have a button that opens a pdf file. THe following code opens it.
Private Sub Command76_Click()
Application.FollowHyperlink "C:\setup.pdf"
End Sub
However, the pdf opens for a mili second and then closes.
I tried this also as a hyperlink but again the same problem.
If I use the button wizard to actually open an application (not document)
everything works fine but the specific pdf I need to open is throwing up
problems.
By the way, the pdf opens perfectly by doub le clicking it or by opening via
Acrobat Reader exe.
Any ideas?
Regards
Malcolm
I have a button that opens a pdf file. THe following code opens it.
Private Sub Command76_Click()
Application.FollowHyperlink "C:\setup.pdf"
End Sub
However, the pdf opens for a mili second and then closes.
I tried this also as a hyperlink but again the same problem.
If I use the button wizard to actually open an application (not document)
everything works fine but the specific pdf I need to open is throwing up
problems.
By the way, the pdf opens perfectly by doub le clicking it or by opening via
Acrobat Reader exe.
Any ideas?
Regards
Malcolm