Anyone Tried Mozilla ActiveX Control ?
Anyone tried Mozilla ActiveX Control ?
I just tried it, but can't find a way to get the HTML DOM.
VB Code:
Private Sub Command1_Click()
MozillaBrowser1.Navigate "www.google.com"
End Sub
Private Sub Command2_Click()
Debug.Print MozillaBrowser1.Document.Body.InnerHTML
' [color=red]ERROR : Automation Error. Library Not Registered[/color]
End Sub
Re: Anyone Tried Mozilla ActiveX Control ?
have you tried registering the control with regsvr32?
Re: Anyone Tried Mozilla ActiveX Control ?
Yes. The control is already registered and opening web pages smoothly just like the WebBrowser control.
I don't have old Mozilla, I have Firefox. The control is using Firefox engine. No problem for normal browsing.
But whenever I want to access HTML DOM, I'm getting that error.