Hello,
After upgrading to IE7, all of my programs with the "Microsoft Internet Controls" (i.e. Webbrowser) are breaking when I load them in code (compiled still works though). I get the following error:
"File Not found 'C:\Windows\system32\ieframe.dll\1'
However, if i look in my references, all I can find that is there is the reference to shdocvw.dll, no ieframe dll. If I open a new project and add the controls, then I get the same error. To me there is something broken between the two. The strange thing is, it worked fine yesterday. I don't have my computer set to do automatic updates and I didn't do any updates last night.
Anyone else having this issue
Regards,
Ryan

IE7 - File Not Found ieframe.dll\1
Javier Luna
Same problem here. This fix worked for me.
Opened the vb project, ignored the errors, deleted the control from the form (remember the control name though), save project and close VB.
Open VB and project, add reference to C:\windows\system32\ieframe.OCA, save project and close VB
Open VB and project, the new web browser control appears. Add control to project and rename it (with original control name to keep the code intact)
No problems since.
Nate00
becko
Here are the step I make to solve the problem:
1) Reference the "Microsoft Internet Controls" from "C:\Windows\System32\ieframe.dll\1" to "C:\Windows\System32\shdocvw.dll". Save your VB6 project.
2) Run your VB6 project. Re-install your IE7 if got any "runtime error" occurred. (Most possible it will trigger an error while you try to "navigate" using the Webbrowser for the second time.)
3) After you re-installed the IE7, the VB6 project will properly refering back to the "C:\Windows\System32\ieframe.dll" again. Don't worry about it and you should run the project perfectly without any error.
4) Try to compile your VB6 project then Save it.
5) Re-open your VB6 project again, if it run well, then the problem solved. If it is not, try to do the step one again and then save your VB6 project.
I don't know either this help most of you or not, but at least this solved my problem on this.
JohDas
Please note the above problem does not seem to affect Pre-IE 7-Installation compiled programs.
Basically once you save your project with IE 7 installed its going to get corrupted!!!
What I did was, go onto another computer with IE 6 installed (Or you can just "add and remove programs" uninstall IE 7 - this reverts you to your previously installed version, in my case IE 6) I copy and pasted all my code from my corrupted VB program into another new program, recreated forms and saved (under this IE 6 environment)
program works successfully, removed IE 7 from my computer retried program and it works. Needless to say IE 7 is not being reinstalled at this time. Please note the corrupted programs do not work under IE 6.
Notes: Ok in my experience uninstalling and reinstalling IE 7 did not work, did multiple times. Going to the Project menu in Visual Basic then References. Looking for Microsoft Internet Controls, clicking, then browsing from ieframe.dll to shdocvw.DLL did not work (VB programs under IE 6 link to shdocvw.OCA, I did not search for this file under IE 7. Someone can try this by resetting from the default file browser filter to *.*) maybe linking to the OCA file under IE 7 will work like someone said in a post above. Please inform us if it does.
Hopefully this post will help countless others continue to do their work productively and not waste the hours I've wasted trying to find a solution.
Bagles1
One of the changes in IE7 included seperating shell and IE code out of Shdocvw. The new IE-only library is IEFrame.dll, so that is where the problem is potentially starting. Unfotunately, I can't repro you're issue here on my machine to give you an exact answer, but here are some ideas to try:
Try removing your references to the WebBrowser control, then adding new ones based on the new libraries.
If you are using the .NET framework, try removing the control, then instead of adding the webbrowser ".NET assemby", use the COM equivelent or import the IEFRAME/MSHTML components individually.
Regardless, let me know what environments you are building in so I can attempt to reproduce the problem here and give you a better answer.
-Reza
Law Ninja
I found this to be a very good work around, only difference is when I went into the file menu: 'Project', 'Components', I click browse and selected the file (from C:\windoes\system32\) SHDOCVW.dll not .ocx as I didn’t have the ocx (might be a typo from OP) and that seemed to cure my problem! :) I did however have to (FIRST) remove the old broken web component from my form, SAVE the project, close it. Then I re-opened the project and did the above and then added the web component back to the form from the toolbar, once re-added.
Touch wood no problems so far, have saved, compiled and re-opened the project a number of times and no error and all running fine.
stronc
I found this solution on another site, and it worked for me.
In IE7, they have separated the library and code for the browser out of ieframe.dll. In the project references, I changed the reference for "Microsoft Internet Controls" from the ieframe.dll to shdocvw.ocx (browse for it in the same folder), saved my project, reopened it, and no longer received the errors.
Squirrel70
So has anyone found a solution to this problem as of yet. Today is the first day I got back into vb6 since I installed IE7, and I am just now getting this error. I think it also made my webbrowser control disappear off my form... As you stated, I don't want to be getting calls about my program not working when IE7 is installed and I have nothing to tell them, nor a fix to release.
Thanks.
Ronan_esm
Tryston02
Surprisingly a reinstall of IE 7 fixed this for me It replaced the same files ieframe.dll & shdocvw.dll (checked versions & dates).
Just thought I would pass this on.
Regards,
John Perks
Steve Strong
Mortsdeh
Anil Narayanan
Anyone else having this issue
Regards,