• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1248
  • Last Modified:

Windows 7, VB5, shdocvw.dll

I am in the final throes of transferring my apps to W7 from W2K. It ain't easy!
I have an app with a Web Browser control "Microsoft Internet Controls".
It appears on the Components menu but when I select it and "Apply",
I get the error "Error accessing the system registry".
I did open VB with "Run as administrator".
Checking the references menu, MS Internet Controls references ieframe.dll.
I browse over to change it to shdocvw.dll, and when I open, I get the error
"Specified library or project, or a compatible library or project is already loaded" .
The VB form with the browser control does not load properly.
0
gron
Asked:
gron
1 Solution
 
fsze88Commented:
I have similar problem as yours. It is difficult to develop vb5,6 from windows 7.
between xp and (vista, 7) may different low level system implement..
0
 
gronAuthor Commented:
Success!

Go to Control Panel > All Control Panel Items > Programs > Run programs made for previous versions of Windows > Next > Select Visual Basic 5

You can then select XP or 2000 , or others.
This leads to opening VB in that mode, after which you can then change the Project > Components reference to shdocvw.dll. Then the web browser tool appears in the tool box.
It then saves these settings for future use of VB.
Works great!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now