Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebBrowser Control

Status
Not open for further replies.

Codesse

Programmer
Jan 28, 2002
10
US
I have an application that uses the Microsoft WebBrowser control for Visual Basic 6. I have one user that has Windows ME OS and the webbrowser control only works when she opens the Internet Explorer. I know that the webbrowser control is dependant on the Explorer dll's, but I can not figure out why it doesn't work when IE is not running.

Can anyone help?
 
Make Sure that the SHDOCVW.DLL that you use for your app is older that the one on the user's machine. The newer control will not work on a machine with an older version without acuiring the re-distibution license from Microsoft.
 
Thank you for the information. I will have the user delete the shdocvw.dll that I provided in the installation.

Thank you.
 
foada,

The user deleted the shdocvw.dll that I provided and the problem still exists. Do you have any other advice?

Thanks
 
You will still need the proper shdocvw.dll(or newer) to be registered on the target machine. You should check the version of IE on the development machine and on the target machine you should also check the shdocvw.dll that is in the system(32) file to make sure they are correct by right clicking and checking the version tab.
 
foada,

I checked my development system and it is using IE v5.5. The target machine is using IE v6.0. It was actually using v5.5, but they upgraded to v6.0 after installing my software. The shdocvw.dll that is in the system directory was a newer version. I need to check to determine what version that was. How do you determine which shdocvw.dll is actually registered?

Thanks for the information.

 
You can register the dll using regsrv32. Go to the command prompt an change your directory to the system(32) directory.
then type in (at propmpt) regsvr32 shdocvw.dll and press 'Enter'. You should get a message saying that the dll registered successfully. Anything is possible, the problem is I only have one lifetime.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top