ADSI Scriptomatic. The ADSI Scriptomatic is designed to help you write ADSI scripts; that is, scripts that can be used to manage Active Directory. [Microsoft Download Center]
This is fascinating for the differences it throws up between the HTA host and the web browser control:
-
There are some VBScript comments within the body of the document - these do not display in the hta host but display in IE/Webbrowser control host (e.g. Zeepe)
-
The info buttons (displayed once you've selected something from the two select lists) show when you start the application in IE/WebBrowser but not in HTA. The HTA host does not enable XP theme support so the border-style:none CSS attribute is sufficient to completely override the border style but this is not enough when themes are enabled; border-width:0 is required as well.
1. is particularly interesting - what is different about the HTA host? (You can get this from mshtml via clsid_htadocument rather than clsid_htmldocument).
The sample is also interesting in that to get HTA behaviour within Zeepe, you have to use the Zeepe page object and change some method calls - e.g. zpmObject.close() and zpmObject.ShowHTMLDialog rather than window.close() and window.showModalDialog(). Zeepe also doesn't handle the <HTA:> tag to pick up style info etc, you have to use a Zeepe style definition and Zeepe page object to get the same effect.
posted at: 11:48:35 AM
|