Reply to Launch MSTSC from SHTML Page.

Your name:

Reply:


Posted by fmc23 on 01/13/06 21:50

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>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация