|
-
Jun 13th, 2013, 06:17 AM
#1
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.

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)
-
Jun 13th, 2013, 07:19 AM
#2
Re: Errror selecting internet control
This may be related to version of IE installed on each machine. Are they the same?
-
Jun 13th, 2013, 07:29 AM
#3
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
-
Jun 13th, 2013, 03:50 PM
#4
Re: Errror selecting internet control
 Originally Posted by RhinoBull
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)
-
Jun 14th, 2013, 02:57 AM
#5
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
-
Jun 14th, 2013, 03:11 AM
#6
Re: Errror selecting internet control
 Originally Posted by Zvoni
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)
-
Jun 14th, 2013, 03:37 AM
#7
Banned
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.
-
Jun 14th, 2013, 03:43 AM
#8
Re: Errror selecting 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
-
Jun 14th, 2013, 03:56 AM
#9
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)
-
Jun 14th, 2013, 07:13 AM
#10
Re: Errror selecting internet control
 Originally Posted by ladoo
[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)
-
Jun 14th, 2013, 07:15 AM
#11
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)
-
Jun 14th, 2013, 07:16 AM
#12
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|