Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 177105 - Last Review: January 22, 2007 - Revision: 3.1
ACC97: "There Is No Object in This Control" Error Inserting Web Browser Control
This article was previously published under Q177105
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.
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.
Microsoft has confirmed this to be a problem in Microsoft Access 97.
This problem no longer occurs in Microsoft Access 2000.
Steps to Reproduce Problem
- 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.
- In Microsoft Access 97, open a new database and create a new form in
Design view.
- 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.
- In the property box for the ActiveX control, in the Name row, type
WbControl.
- In the form's Load event, type the following procedure:
Private Sub Form_Load()
Me!WbControl.Navigate "http://www.microsoft.com"
End Sub
- Close the form module.
- Switch the form to Form view. Note that you receive the error message
described in the "Symptoms" section.
APPLIES TO
- Microsoft Access 97 Standard Edition
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please