ttohme
03-28-2006, 02:46 PM
Hello,
Here is what I'm despretally trying to do:
I am trying to run an executable from an HTML based page.
Everytime I try something I keep getting the ActiveX warning dialog, is there anyway I can run an exe from html without having this warning ?
The warning seem to come up when CreateObject instruction is executed.
here is the code:
<HTML>
<HEAD>
</HEAD>
<BODY>
<script language="vbscript">
Set Shellob=CreateObject("WScript.Shell")
strParams="2003000"
strParams=chr(34) & strParams & " " & "EN" & chr(34)
strProgPath="Launch.exe"
strProgPath=chr(34) & strProgPath & " " & strParams & chr(34) 'add double quotes
msgbox strProgPath
Shellob.Run strProgPath
Set Shellob=Nothing
</script>
thanks in advance.
Here is what I'm despretally trying to do:
I am trying to run an executable from an HTML based page.
Everytime I try something I keep getting the ActiveX warning dialog, is there anyway I can run an exe from html without having this warning ?
The warning seem to come up when CreateObject instruction is executed.
here is the code:
<HTML>
<HEAD>
</HEAD>
<BODY>
<script language="vbscript">
Set Shellob=CreateObject("WScript.Shell")
strParams="2003000"
strParams=chr(34) & strParams & " " & "EN" & chr(34)
strProgPath="Launch.exe"
strProgPath=chr(34) & strProgPath & " " & strParams & chr(34) 'add double quotes
msgbox strProgPath
Shellob.Run strProgPath
Set Shellob=Nothing
</script>
thanks in advance.