-
Nov 9th, 2006, 08:07 AM
#1
Thread Starter
Addicted Member
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.
-
Nov 9th, 2006, 08:25 AM
#2
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.
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Nov 9th, 2006, 08:29 AM
#3
Thread Starter
Addicted Member
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?
-
Nov 9th, 2006, 08:32 AM
#4
Re: Internet Control (ffffffe) error.
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
-
Nov 9th, 2006, 08:42 AM
#5
Thread Starter
Addicted Member
Re: Internet Control (ffffffe) error.
Originally Posted by DigiRev
it needs lot of work .. like compliling firefox browser from binaries ...
-
Nov 9th, 2006, 01:50 PM
#6
Thread Starter
Addicted Member
Re: Internet Control (ffffffe) error.
anybody else knows something about this issue?
-
Nov 9th, 2006, 02:11 PM
#7
Re: Internet Control (ffffffe) error.
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Nov 9th, 2006, 02:29 PM
#8
Thread Starter
Addicted Member
Re: Internet Control (ffffffe) error.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|