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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript Shell for calling a .HTA program

Status
Not open for further replies.

vemate

Programmer
Aug 23, 2002
61
US
I have a program I am trying to execute that is written with .HTA the method is running a program with html.
this shell is suppose to call the program vbscript.hta

<html>
<SCRIPT LANGUAGE="vbScript">
dim shell
set shell = createobject("WScript.Shell")
shell.run("vbscript.hta")
</script>
</html>

the program vbscript.hta is below.

<html>
<head>
<title>Run FPA</title>
<hta:application
applicationname="F:/tzo/fpaweb.tzo.com/fpa/aas2.exe"
maximizebutton="no"
minimizebutton="no"
singleinstance="yes"
innerborder="no"
contextmenu="no"
selection="no"
scroll="no" />


</script>
</head>
</html>

Is my shell code correct. It only gives a blank page when executed.

Thanks
Vernon

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top