Microsoft KB Archive/174088

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

Article ID: 174088

Article Last Modified on 1/20/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



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.



Steps to Reproduce Behavior
 Open the sample database Northwind.mdb. Create a new, blank form and open the form in Design view. On the Tools menu, click ActiveX Controls. In the ActiveX Controls dialog box, select Microsoft Web Browser Control, and then click Register. In the ActiveX Control dialog box, follow these steps:

<ol style="list-style-type: lower-alpha;"> In the List Files Of Type box, select Libraries(*.dll).</li> In the Directories box, browse to C:\Windows\System.</li> In the File Name box, select shdocvw.dll, and then click Open.</li></ol> </li></ol>

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

<div class="references_section">