After I followed the instructions, I went to the Web Reporting Tool, and it
shows the new Remote Control button. The problem is, that when I press the
button it does not activate the remote control.
What could be the problem???. This is part of my modified MachDetailsNav.asp
file:
-->
</script>
</head>
<form name="frmMain" action="MachDetailsReport.asp" method="get"
target="main" tabindex="0">
<br>
<table border="0" width="900" cellpadding=1 cellspacing=2>
<tr>
<td width="199" valign="top" height="11" colspan="2">
<span class="blacktext">First, specify a machine name (or use the filter
icon.)
</span>
</td>
<td width=691>
<input name="txtReportID" style="HEIGHT: 1px; VISIBILITY: hidden; WIDTH:
1px" value="0" size="20">
</td>
</tr>
<td width="151" valign="top">
<input id="txtValue" name="txtValue" value="<%=sMachine%>" size="20">
</td>
<td width="44" valign="top">
<img border="0" onclick="subFilter()" src="images/filter.gif" style="cursor:
hand" title="Displays a list of machines." WIDTH="34" HEIGHT="34">
</td>
<tr>
<td>
<input TYPE="BUTTON" VALUE="Start remote Control" NAME="Btn1">
</td>
</tr>
<tr><td width="199" valign="top" height="14" colspan="2">
<span class="blacktext">Next, select a report to view the results.
</span>
</td>
</tr>
</span>
</td>
</tr>
</table>
</form>
<script language="vbScript">
Sub Btn1_OnClick
dim wshshell, Cname, ip
Cname=document.frmMain.txtValue.valueSet
WshShell = CreateObject("WScript.Shell")
WshShell.run ("\\server01\remoteshare$\webremote.vbs " & Cname )
End Sub
</script>
<body topmargin="0" STYLE="MARGIN-LEFT: 0.25cm; MARGIN-RIGHT: 0.05cm"
bgcolor="white">
<div ID="TreeDiv" CLASS="tree" style="MARGIN-TOP: 20px" language="VBScript"
onclick="DoClick">Reports
</div>
</body>
</html>