I have a GUI HTA that I've put together (with some assistance of other users here on EE), that's a pretty cool little interface into our AD infrastructure (Much like AD Users & Computers).
In any case, I have it running LDAP search queries against our VERY LARGE forest, alot of which are based on a user's last name. The script works fine, with no issues - but as it's rolling through our multiple domain forest, if it's a pretty common name I'm searching for, it can understandably take a considerate amount of time.
I'm fine with this. Unfortunately, the MSHTA isn't. It'll run the script in the background, and eventually give a dialog box stating the script's unresponsive, asking me to terminate or keep running it.
Of course, I just click past it, and let the script finish up what it's doing... But my question is this now. Is there a way to inform the HTA shell to ignore the script timeouts? I'm guessing it's an IE setting, but I'd prefer not to change anything on the desktop if possible, and just add it to the code (vbs).
On Error Resume Next AND Shut-Up-About-Unresponsive-Scripts!
On Error Goto 0