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!

Open Executable from VBScript

Status
Not open for further replies.

jgos

Programmer
Sep 27, 2002
38
0
0
US
Is there a way that I can open a program like notepad from a client side VBScript in a web page?
 
I use:

Set WshShell = CreateObject("WScript.Shell")
ReturnCode = WshShell.Run ("%windir%\notepad.exe", 1, TRUE)

which works fine in MS Dev Env but not when I launch the html file in IE...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top