fitchic77
06-22-2001, 10:48 AM
I need help on ShellExecute. I am getting an error on compiling:
Private Sub TurnUp_Click()
Dim lngResult As Long
Dim strDocument As String
' Change the path below to something appropriate for you.
strDocument = "http://www.yahoo.com"
lngResult = ShellExecute(Me.hwnd, "Open", strDocument, "", "", vbNormalFocus)
End Sub
The error is: Method or Data Member not found
THANKS!
Andrea
Private Sub TurnUp_Click()
Dim lngResult As Long
Dim strDocument As String
' Change the path below to something appropriate for you.
strDocument = "http://www.yahoo.com"
lngResult = ShellExecute(Me.hwnd, "Open", strDocument, "", "", vbNormalFocus)
End Sub
The error is: Method or Data Member not found
THANKS!
Andrea