This is my HTA code:
<head>
<title>test close</title>
<HTA:APPLICATION APPLICATIONNAME="close" SCROLL="yes" SINGLEINSTANCE="yes" WINDOWSTATE="normal">
</head>
<body>
<input type="button" value="close" onClick="closeWin">
</body>
<script language="VBScript">
Sub closeWin
self.close()
End Sub
</script>
When I click the close button I keep getting:
'Object doesn't support this property or method'
at the line containing the button.
Any ideas?
<head>
<title>test close</title>
<HTA:APPLICATION APPLICATIONNAME="close" SCROLL="yes" SINGLEINSTANCE="yes" WINDOWSTATE="normal">
</head>
<body>
<input type="button" value="close" onClick="closeWin">
</body>
<script language="VBScript">
Sub closeWin
self.close()
End Sub
</script>
When I click the close button I keep getting:
'Object doesn't support this property or method'
at the line containing the button.
Any ideas?