Hello,
I am new to Mozilla. I worked with microsoft webbrowser control. Noe I
started using mozilla activeX control.
I installed mozilla and the registered mozilla activeX successfully.
I have embedded mozilla ActiveX in my VB project. I can write to the
document using the following
MozillaBrowser.Document.Open
MozillaBrowser.Document.Write "<html><body><B>This is a
test</B></body></html>
MozillaBrowser.Document.Close
It works well.
Now I want to read it back.
This works with Microsoft webBrowser control in both direction.
textStr = webBrowser.Document.body.innerHTML
webBrowser.Document.body.innerHTML = newTextStr
I tried this with Mozilla.
textStr = MozillaBrowser.Document.body.innerHTML
I am getting the following error
Runtime Error '-2147319779'
Automation Error
Library not registered
What is wrong? Can't I simply access (read and write both) to read/modify
content of body Element?
Is there any other way to get to a node and then change its property? I
tried to get he body node like this,
Set bodyElement = MozillaBrowser.Document.body
I get the same error message.
But I can get the document element like,
Set docElement = MozillaBrowser.Document
Thanks,
Kish