Launch MSTSC from SHTML Page.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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!


<input type="BUTTON" name="Write" value="Click" language=VBS

<script language="vbscript">
Sub Launch
Set oShell = CreateObject("WScript.Shell") "mstsc.exe /v <!--#include file="currentid.txt"-->"
Set oShell = Nothing
End sub

Re: Launch MSTSC from SHTML Page. wrote:

Quoted text here. Click to load it

was multi-posted to c.i.w.a.h.  Please check there for the numerous
answers and discussion. Meanwhile, see:
Cross-post if necessary, but don't multi-post.

   -Warning: I brake for lawn deer

Site Timeline