Internet Control (ffffffe) error.-VBForums
Results 1 to 8 of 8

Thread: Internet Control (ffffffe) error.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Osaka
    Posts
    200

    Internet Control (ffffffe) error.

    VB Code:
    1. Private Sub Form_Load()
    2.     WebBrowser1.Navigate "http://www.google.com/"
    3.     WebBrowser1.Silent = True
    4. End Sub
    5.  
    6.  
    7.  
    8. Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
    9.     If (pDisp Is WebBrowser1.Application) Then
    10.  
    11.         If URL = "http://www.google.com/" Then 'test for google
    12.  
    13.             Dim HTML As HTMLDocument
    14.             Set HTML = WebBrowser1.Document
    15.             HTML.All.Item("q").Value = "static"
    16.             HTML.All.Item("btnG").Click
    17.         End If
    18.  
    19.     End If
    20. End Sub


    I get error

    Run-time error '-2 (fffffffe)'

    IE7 installed + reference to shdocvw.dll

    Really don't know what's going wrong.

  2. #2
    eltiT resU motsuC Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,374

    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"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Osaka
    Posts
    200

    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?

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Osaka
    Posts
    200

    Re: Internet Control (ffffffe) error.

    Quote Originally Posted by DigiRev
    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
    it needs lot of work .. like compliling firefox browser from binaries ...

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Osaka
    Posts
    200

    Re: Internet Control (ffffffe) error.

    anybody else knows something about this issue?

  7. #7
    eltiT resU motsuC Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,374

    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"

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Osaka
    Posts
    200

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.