ACC97: "No Object in This Control" Inserting Web Browser Control

Last reviewed: November 24, 1997
Article ID: Q177105
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

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

In Microsoft Access 97, when you insert the Web Browser Control on a form, and you are using a computer that has Microsoft Internet Explorer 4.0 installed, you may receive the following error message when you try to display the control:

   There is no object in this control.

If you click OK in the message box, you receive the following additional message:

   Run-time error '438'

   Object doesn't support this property or method

This problem occurs if you are using the version of the Web Browser Control that is included on the Microsoft Office 97 Professional Edition compact disc in the ValuPack folder.

CAUSE

The file, Shdocvw.dll (version 4.701.300), is replaced with a newer version that is installed with Internet Explorer 4.0. Microsoft Access 97 does not recognize the newer version (4.71.1712.5) of the control.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Run the Microsoft Internet Explorer 4.0 Setup program to install Microsoft Internet Explorer 4.0 on a computer that has the Web Browser control.

    NOTE: This control can be found on the Microsoft Office 97 Professional Edition compact disc in the ValuPack folder.

  2. In Microsoft Access 97, open a new database and create a new form in Design view.

  3. On the Insert menu, click ActiveX Control, and in the Insert ActiveX Control dialog box, select the Microsoft Web Browser Control from the list. Click OK.

  4. In the property box for the ActiveX control, in the Name row, type "WbControl" (without the quotation marks).

  5. In the form's Load event, type the following procedure:

          Private Sub Form_Load()
    

             Me!WbControl.Navigate "http://www.microsoft.com"
    
          End Sub
    
    

  6. Close the form module.

  7. Switch the form to Form view. Note that you receive the error message described in the "Symptoms" section.


Additional query words: 97
Keywords : IntpCstm
Version : WINDOWS:97
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.