Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing Explorer

Status
Not open for further replies.

summitx

Programmer
Jan 20, 2006
7
0
0
CA
The code for my program is as follows :
Private Sub cmdAgree_Click()
MsgBox "Thank you, have fun, and please call us with any questions"
Dim ret As Long
ret = ShellExecute(0&, vbNullString, "\cdcatalogue\index.htm", vbNullString, vbNullString, vbNormal)
End
End Sub

The ShellExecute works well for Internet Explorer 5.5 and Netscape only, it will not execute Explorer 6 or older than Explorer 5, I believe the error is in my code but am not sure, I also have not tried it on any Netscape previous to the newest one so they may not work either, any information or fixes would be greatly appreciated. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top