Opening PDF/ Solidworks API
Opening PDF/ Solidworks API
(OP)
I can open it using the shell command..
ie:
myapp= Shell("C:\app path C:\file path")
But unfortunately I will not always know the location of acrobat reader.
Is there another way to do this?
ie:
myapp= Shell("C:\app path C:\file path")
But unfortunately I will not always know the location of acrobat reader.
Is there another way to do this?






RE: Opening PDF/ Solidworks API
Windows API declaration for ShellExecute
CODE
ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Sub that opens a web page using ShellExecute
CODE
ShellExecute 0, vbNullString, "http://www.EsoxRepublic.com", vbNullString, "C:\", SW_SHOWNORMAL
End Sub
http://www.EsoxRepublic.com-SolidWorks API VB programming help