The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

MSHTML Question

I'm building an ActiveX object that will be instantiated inside of IE. When the component detects that the document is fully loaded, it goes into the DOM of the page that it's on and collects references to certain IHTMLElement objects.

Currently it saves a full COM reference to this object, however I'm thinking that it might not be the best idea. For instance, what if the object is on a page where there is some scripting that happens to remove one of the objects that I have referenced.

Does anyone know of a better way of dealing with this? Instead, should I just save the element's uniqueID property and then check if it still exists before using it?

Thanks
Wayne Bloss Send private email
Thursday, August 18, 2005
 
 
Also, why is there no HTMLTBody class in MSHTML?
Wayne Bloss Send private email
Thursday, August 18, 2005
 
 
Okay, I found the class to use for TBODY, it's the HTMLTableSection.
Wayne Bloss Send private email
Thursday, August 18, 2005
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz