I want to open a jpg using ShellExecute. I created a module using this statement:
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long.
How do I use this to open a jpg? Here is some additional info:
private sub Pic_click()
dim sPath as string
dim sPic as string
sPath = "\\bigBaby\ah\pictures\presskit\"
sPic = "BioInfo.jpg"
' open jpg with ShellExecute...