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!

Why does WSH (in VBS) in HTML not work?

Status
Not open for further replies.

koospater

Programmer
Jul 6, 2003
5
0
0
NL
My VBS-script works fine, but integrated in a HTML-page, then WSH is not working. Why not?
 
Your VBS script MUST be hosted. When you run it directly the container is Cscript.exe or Wscript.exe. When it is embedded in an HTML page, the container is Iexplore.exe and then you haven't reference to scrrun.dll (Script RunTime Library).

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top