I'm working on a chromeless HTA and found some code that allows you to minimize the window. It works fine when I run the HTA from a local drive, but when I put it on my network drive (so I can access it from another computer), it suddenly says the object doesn't support the Click property.
<script language="javascript">
function minWin(){
MyObj.Click();
}
</script>
<object Id="MyObj" CLASSID="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param NAME="command" VALUE="minimize">
</object>
This works fine when run locally, but the Click() property throws an error when the HTA runs from a network drive. Any idea why?