ACC97: "Error Loading Browser" Message When Using Solutions.mdbID: Q174343
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you open the example "Browsing the World Wide Web" in the sample
database Solutions.mdb, you receive the following error:
Error Loading Browser
You can view this form only on a computer that also has Microsoft Internet Explorer 3.0 or later installed.
You have installed Microsoft Internet Explorer 4.0 on your computer.
Follow these steps to change the IE3_Installed() function so that it
searches the registry for the correct text value in the CLSID key for
Microsoft Internet Explorer.
IE3_Installed = (stFromSz(stValue) = "Microsoft Web Browser Control")
to:
IE3_Installed = (stFromSz(stValue) = "Microsoft Web Browser Version 1")
The code in the Load event of the WebBrowseWeb form checks the IE30Present property of the clsIE30Status class to determine if Microsoft Internet Explorer 3.0 is installed on the computer. The IE30Present property is set by the function IE3_Installed, which is located in the class module clsIE30Status. This function searches HKEY_CLASSES_ROOT in the Windows registry; if it finds the entry "Microsoft Web Browser Control" in the CLSID key for Internet Explorer, it returns a value of True. However, the value of this Registry entry is "Microsoft Web Browser Version 1" if you have installed Microsoft Internet Explorer version 4.0. Because the function doesn't find the string "Microsoft Web Browser Control" in Internet Explorer's CLSID key, it sets the IE30Present property of the clsIE30Status class to False. As a result, you receive an error message.
For more information about the Web Browser control, please see the
following article in the Microsoft Knowledge Base:
Q165212 Finding Information on the Web Browser Control
Additional query words: ie4
Keywords : kberrmsg DcmSltn
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 29, 1999