Results 1 to 12 of 12

Thread: Errror selecting internet control

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Errror selecting internet control

    I have a project which includes a WebBrowser control. I started the project on a specific computer ("no. 1", Windows 7) where all was working fine.

    But then I opened the project on another computer ("no. 2", Windows XP) and got an error that the control had not been loaded. I went to Project/Components, selected Microsoft Internet Controls and the correct location was shown at the bottom of the form: "C:\Windows\System32\ieframe.dll. So then I clicked on the "Apply" button and got this strange message that this file had not been found:

    C:\Windows\System32\ieframe.dll\1

    (notice the "1" at the end).

    When I then manually browsed to select the ieframe.dll file and finally clicked "Accept", the message was displayed that file ieframe.dll could not register as an ActiveX component.

    I don't have any idea what's going on.

    Name:  1.png
Views: 242
Size:  29.6 KBName:  2.png
Views: 241
Size:  9.2 KB
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  2. #2

  3. #3
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,263

    Re: Errror selecting internet control

    Yepp, no IE9/10 on XP as far as i know
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  4. #4

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Errror selecting internet control

    Quote Originally Posted by RhinoBull View Post
    This may be related to version of IE installed on each machine. Are they the same?
    That may be it, it's IE9 on the Win7 computer and IE7 on the WinXP.

    So this webbrowser control is supposed to work only with IE >= 9, is that the point?
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  5. #5
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,263

    Re: Errror selecting internet control

    The other way around: You coded your original program on Win7, which uses IE9, and then you moved your code/program to a machine using IE7, so there might be some differences (and i'm pretty sure there are) with the internet control
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  6. #6

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Errror selecting internet control

    Quote Originally Posted by Zvoni View Post
    The other way around: You coded your original program on Win7, which uses IE9, and then you moved your code/program to a machine using IE7, so there might be some differences (and i'm pretty sure there are) with the internet control
    I just started a brand new project on computer #2 (XP / IE7) and when I tried to add a webbrowser control the same error messages appeared.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  7. #7
    Banned
    Join Date
    Nov 2012
    Posts
    1,171

    Re: Errror selecting internet control

    am sure your on windows xp follow these steps , 2 min fix


    go to start / run / enter regedit or manually go to c:\windows\regedit open it

    once regedit is open scrolll all the way up till you se mycomputer icon click on that then go to edit find


    then enter this ieframe.dll\1 and press search keep searching till u come to this then

    once you found it remove the \1 and close the regedit , thats it its fixed.

  8. #8
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,263

    Re: Errror selecting internet control

    hmmm....sounds like it's corrupted or something

    here are some links i found

    http://social.msdn.microsoft.com/For...-b02489009aab/
    https://forums.digitalpoint.com/thre...n-vb6.1955985/
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  9. #9
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Errror selecting internet control

    You may also want to try this workaround.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  10. #10

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Errror selecting internet control

    Quote Originally Posted by ladoo View Post
    [B][COLOR="#0000CD"][SIZE=4]...then enter this ieframe.dll\1 and press search keep searching till u come to this then once you found it remove the \1...
    It worked, thank you. I just wonder how this minor corruption could creep into the registry.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  11. #11

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Errror selecting internet control

    It's been solved already by fixing the registry as suggested by ladoo. Thanks anyway.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  12. #12

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Errror selecting internet control

    Thanks, it's a good example of how to create controls at run time.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

Posting Permissions

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



Click Here to Expand Forum to Full Width