ACC97: "C:\Windows\System\Shdocvw.dll Cannot Be Added" Error Registering Web Browser Control Through Microsoft Access User Interface (174088)



The information in this article applies to:

  • Microsoft Access 97

This article was previously published under Q174088
Moderate: Requires basic macro, coding, and interoperability skills.

SYMPTOMS

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:

161983 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.

Modification Type:MajorLast Reviewed:9/25/2003
Keywords:kberrmsg kbprb KB174088