F
fmc23
The following code will not work in my shtml page at all and I can not
figure out the reason. I get the error that there is a "Type Mismatch
'Launch'" when i click the button.
If i change the server side include to the acutaly ip it works great. I
just can not get it to work with the server side inclue. Any help would
be greatly appreciated! Thanks Everyone!
<p>Test</p>
<input type="BUTTON" name="Write" value="Click" language=VBS
onclick="Launch">
<script language="vbscript">
Sub Launch
Set oShell = CreateObject("WScript.Shell")
oShell.run "mstsc.exe /v <!--#include file="currentid.txt"-->"
Set oShell = Nothing
End sub
</script>
figure out the reason. I get the error that there is a "Type Mismatch
'Launch'" when i click the button.
If i change the server side include to the acutaly ip it works great. I
just can not get it to work with the server side inclue. Any help would
be greatly appreciated! Thanks Everyone!
<p>Test</p>
<input type="BUTTON" name="Write" value="Click" language=VBS
onclick="Launch">
<script language="vbscript">
Sub Launch
Set oShell = CreateObject("WScript.Shell")
oShell.run "mstsc.exe /v <!--#include file="currentid.txt"-->"
Set oShell = Nothing
End sub
</script>