Internet Control (ffffffe) error.
VB Code:
Private Sub Form_Load()
WebBrowser1.Navigate "http://www.google.com/"
WebBrowser1.Silent = True
End Sub
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
If (pDisp Is WebBrowser1.Application) Then
If URL = "http://www.google.com/" Then 'test for google
Dim HTML As HTMLDocument
Set HTML = WebBrowser1.Document
HTML.All.Item("q").Value = "static"
HTML.All.Item("btnG").Click
End If
End If
End Sub
I get error
Run-time error '-2 (fffffffe)'
IE7 installed + reference to shdocvw.dll
Really don't know what's going wrong. :blush:
Re: Internet Control (ffffffe) error.
IE7 Installed is your problem...
there are parts of the webbrowser control that no longer exist in IE7. there is a big thread on it somewhere.. search
or if IE7 is not that important, just uninstall it.
Re: Internet Control (ffffffe) error.
I read complete thread but there is no solution there ..
I can live with Firefox but problem is that there is no way of uninstalling IE7 and gaining back IE6... is there any?
Re: Internet Control (ffffffe) error.
Quote:
Originally Posted by slice
I read complete thread but there is no solution there ..
I can live with Firefox but problem is that there is no way of uninstalling IE7 and gaining back IE6... is there any?
I don't know, but you could replace the IE control in your project with the Mozilla one. I heard it acts exactly the same and you don't have to change any code.
http://www.iol.ie/~locka/mozilla/mozilla.htm
Re: Internet Control (ffffffe) error.
Quote:
Originally Posted by DigiRev
it needs lot of work .. like compliling firefox browser from binaries ... :sick:
Re: Internet Control (ffffffe) error.
anybody else knows something about this issue? :wave:
Re: Internet Control (ffffffe) error.
Re: Internet Control (ffffffe) error.
Quote:
Originally Posted by Static
I started this thread after reading that thread .. but till post #47 there was no solution found.
As i mentioned above i am using correct dll with check on Allow scripting with Web brower control [inside custome level settings {security}]
but same error is appearing.