Quote:
Originally Posted by mce
Currently looking into this:
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
Seems IE9 and possibly IE8 had different compatibility modes.
The following meta tag may be needed in the head section of the .hta file.
<meta http-equiv="X-UA-Compatible" content="IE=4"> <!-- IE5 mode -->
|
I read that but got confused by some of the community comments.
Inserted the meta tag (just after title), same error result from the VBS.
It seems ridiculous that For Each could cause a problem (but I will try a little VBS that just iterates some other object/collection, without the complication of JSON code).
I have seen code that explicitly loads an HTA file with MSHTA.exe, rather than double-clicking (which does what? processes it with the default Microsoft browser I assume).
[edit1]
I tried a (remnant) 2005-dated MSHTA.EXE (the one in Win7-64's \windows\system32\ is v9.00.8112.16421, dated 2011) and got a wrong entry-point error in version.dll, but I might fetch another mshta.exe from a machine with ie8 installed, and see if I can get some progress.
[edit2]
Using another mshta.exe (from WinXP Sp3 with IE8 = v8.0.6001.18702), but the command "mshta iviewnapperlite.hta" doesn't show me any visible response. I thought it would.