Pete Cole's weblog.
Mutterings on things generally.
 


Subscribe to "Pete Cole's weblog." in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


11 May 2003
 

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:

  1. 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)
  2. 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  


Click here to visit the Radio UserLand website. © Copyright 2003 Pete Cole.
Last update: 01/06/2003; 11:01:55.
May 2003
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Apr   Jun