Windows 7, VB5, shdocvw.dll

Posted on 2009-12-20
Medium Priority
Last Modified: 2012-05-08
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.
Question by:gron
LVL 15

Expert Comment

ID: 26091109
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..

Accepted Solution

gron earned 0 total points
ID: 26091506

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!

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question