ACC97: Cannot Resize Web Browser Control on a Form (161397)
The information in this article applies to:
This article was previously published under Q161397 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you use the Microsoft Web Browser control on a form in Microsoft
Access 97, the control retains its original size even when you open the
form in Design view and resize the control.
RESOLUTION
Remove the Web Browser control from the form and replace it with a new one
that is the correct size. To do so, follow these steps:
- Open your form in Design view.
- Resize the control so it appears the way that you want it to. You can
only see the size change in Design view of the form.
- If the properties sheet is not displayed, on the View menu, click
Properties to display the property sheet. Make note of all properties of
the Web Browser control so you can transfer them to the new control.
Include any Visual Basic code you have attached to event properties for
the control.
- Delete the control from the form.
- On the Insert menu, click ActiveX Control.
- In the Insert ActiveX Control dialog box, select Microsoft Web Browser
Control, and then click OK.
- Set all properties for the new Web Browser control just as they were for
the one that you deleted, including the new size settings. Do not save
the form or switch out of Design view until you have set the Width and
Height properties the way that you want them.
- When the new Web Browser control is sized correctly, save the form.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Internet
Explorer version 3.01.
REFERENCES
For more information about Microsoft Internet Explorer version 3.01,
please see the following articles in the Microsoft Knowledge Base:
159707 Office 97 Requires Internet Explorer 3.01
152421 Microsoft Internet Explorer 3.01 for Windows 95 Available
177105 ACC97: "No Object in This Control" Inserting Web Browser
Control
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug kbinterop KB161397 |
---|
|