Hello!

I'm working on a VB6 application that uses the IE WebBrowser control.
Due to a user request, I'm developing a parallel version to use
Mozilla, and I was hoping to use the Mozilla ActiveX control.

I've downloaded the latest version of XULRunner, and have registered
the Mozilla ActiveX control.  I can get the Mozilla control to
navigate to webpages and fire events without difficulty, but I am
having no success with the .Document property, which is supposed to
return the Document object.

The following VB statements that work with the IE Browser control (ie1
is the name of the Mozilla ActiveX control)
     xx = UserForm1.ie1.Document.body.id
     xx = UserForm1.ie1.Document.body.Title
     xx = UserForm1.ie1.Document.body.innerText

fail when using the Mozilla ActiveX control with an "Automation Error
Library not registered"
error.  I've tried using "textContent" instead of "innerText", but get
the same thing.  I'm not sure what library wouldn't be registered,
since the control does browse to webpages.  I've also tried on a
couple of different computers, with the same result.

>From what I've read on Adam Lock's site, the Document DOM is supposed
to be implemented, so I must be doing something wrong, but can't
figure out what.  I've also tried to the older "standalone" versions
of the ActiveX control on Lock's website, but they do the same thing.

Any suggestions or help would be greatly appreciated.

Thanks!
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to