A have a commandbutton in my Access application that starts Illustrator.
It looks something like this:
This works well, the problem is if the user have installed illustrator on D: or any other place.
What is the best way to find out where illustrator.exe is located, or can I start Illustrator in any other way?
/Hakan Haskel
It looks something like this:
Code:
Private Sub cmdEditImage_Click()
Dim stAppName As String
stAppName = "C:\Program Files\Adobe\Illustrator 10\" & _
"Support Files\Contents\Windows\" & _
"Illustrator.exe """ & Me.txtImagePath & """"
Call Shell(stAppName, vbNormalFocus)
End Sub
This works well, the problem is if the user have installed illustrator on D: or any other place.
What is the best way to find out where illustrator.exe is located, or can I start Illustrator in any other way?
/Hakan Haskel