2 Attachment(s)
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.
Attachment 101123Attachment 101125
Re: Errror selecting internet control
This may be related to version of IE installed on each machine. Are they the same?
Re: Errror selecting internet control
Yepp, no IE9/10 on XP as far as i know
Re: Errror selecting internet control
Quote:
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?
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
Re: Errror selecting internet control
Quote:
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.
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
http://oi40.tinypic.com/nxjq4p.jpg
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.
Re: Errror selecting internet control
Re: Errror selecting internet control
You may also want to try this workaround.
Re: Errror selecting internet control
Quote:
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.
Re: Errror selecting internet control
It's been solved already by fixing the registry as suggested by ladoo. Thanks anyway.
Re: Errror selecting internet control
Thanks, it's a good example of how to create controls at run time.