jesusoneez
IT Dogsbody
- Local time
- Today, 04:03
- Joined
- Jan 22, 2001
- Messages
- 109
I have the following code;
I know the mistake is in the Call Shell line at the point of MyFilePath, but I don't know how to fix it.
EDIT: The error being wrong property argument.
Thanks for any help.
Code:
Private Sub cmdProof_Click()
Dim MyFilePath As String
MyFilePath = "N:\Pictures\" & Me.txtBanID.Value & ".jpg"
MsgBox MyFilePath
Call Shell("C:\Program Files\Internet Explorer\IEXPLORE.EXE", MyFilePath, "", vbMaximizedFocus)
End Sub
I know the mistake is in the Call Shell line at the point of MyFilePath, but I don't know how to fix it.
EDIT: The error being wrong property argument.
Thanks for any help.
Last edited: