<code>
<html>
<head>
<title>Learn something new</title>
</head>
<body>
<Input language="VBScript" type="Button" value="Click me" onclick="ExecHTA()">
<Script language="VBScript">
' Public Object so i dont have to keep making them
'and they are separated by subs or functions
Public w
Set w = CreateObject("WScript.Shell"
Sub ExecHTA()
w.Exec("mshta C:\TheEx.hta"
End Sub
</Script>
</body>
</html>
</Code>
<html>
<head>
<title>Learn something new</title>
</head>
<body>
<Input language="VBScript" type="Button" value="Click me" onclick="ExecHTA()">
<Script language="VBScript">
' Public Object so i dont have to keep making them
'and they are separated by subs or functions
Public w
Set w = CreateObject("WScript.Shell"
Sub ExecHTA()
w.Exec("mshta C:\TheEx.hta"
End Sub
</Script>
</body>
</html>
</Code>