This commit is contained in:
@@ -31,8 +31,8 @@ Set objShell = CreateObject("WScript.Shell")
|
|||||||
|
|
||||||
Sub Window_OnLoad
|
Sub Window_OnLoad
|
||||||
Dim X, Y, strComputer, objWMIService, colItems, objItem, intHorizontal, strYear, wcRegPath
|
Dim X, Y, strComputer, objWMIService, colItems, objItem, intHorizontal, strYear, wcRegPath
|
||||||
X=500
|
X=1024
|
||||||
Y=420
|
Y=768
|
||||||
window.resizeTo X,Y
|
window.resizeTo X,Y
|
||||||
' resize the HTA
|
' resize the HTA
|
||||||
strComputer = "."
|
strComputer = "."
|
||||||
@@ -70,7 +70,7 @@ Sub btnConfigure_OnClick
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
If txtPort.value="" Then
|
If txtPort.value="" Then
|
||||||
MsgBox "Please enter port number",16,"ERROR"
|
MsgBox "Please enter webserver port number",16,"ERROR"
|
||||||
txtPort.focus
|
txtPort.focus
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
@@ -229,16 +229,17 @@ End Sub
|
|||||||
<body>
|
<body>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>host</td>
|
<td>Hostname:</td>
|
||||||
<td><input type="text" name="txtHost" value="localhost"/></td>
|
<td><input type="text" name="txtHost" value="localhost" disabled="disabled"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>port</td>
|
<td>Webserver port:</td>
|
||||||
<td><input type="text" name="txtPort" value="80" maxlength="5" size="6" /></td>
|
<td><input type="text" name="txtPort" value="8080" maxlength="5" size="6" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td> </td><td> </td></tr>
|
<tr><td> </td><td> </td></tr>
|
||||||
<tr><td> </td><td><input type="button" value="START" id=btnConfigure /></td></tr>
|
<tr><td> </td><td><input type="button" value="START INSTALL" id=btnConfigure /></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
<br><br>
|
||||||
<div id="output"></div>
|
<div id="output"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user