ACC97: "C:\Windows\System\Shdocvw.dll cannot be added" Error Registering Web Browser Control Through MS Access UI

ID: Q174088


The information in this article applies to:
  • Microsoft Access 97


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you try to register the Microsoft Web Browser control by using the ActiveX Controls dialog box, you may receive the following error message:

C:\Windows\System\Shdocvw.dll cannot be added. Either it is not an OLE control or it requires a separate setup utility


RESOLUTION

Use the Regsvr32.exe utility to register the control.

For information about how to obtain Regsvr32.exe, please see the following article in the Microsoft Knowledge Base:

Q161983 ACC: Regsv32a.exe Available in Download Center


STATUS

This behavior is by design.


MORE INFORMATION

Steps to Reproduce Behavior


  1. Open the sample database Northwind.mdb.


  2. Create a new, blank form and open the form in Design view.


  3. On the Tools menu, click ActiveX Controls.


  4. In the ActiveX Controls dialog box, select Microsoft Web Browser Control, and then click Register.


  5. In the ActiveX Control dialog box, follow these steps:

    1. In the List Files Of Type box, select Libraries(*.dll).


    2. In the Directories box, browse to C:\Windows\System.


    3. In the File Name box, select shdocvw.dll, and then click Open.




Note that you receive the error message described in the "Symptoms" section.


REFERENCES

For more information about the Web Browser control, search the Help Index for "web sites, Microsoft WebBrowser control," or ask the Microsoft Access 97 Office Assistant.

Additional query words: ActiveX controls

Keywords : kberrmsg
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: November 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.