ACC: OLE Object Inserted into Object Frame Displayed as Icon
ID: Q177587
|
The information in this article applies to:
-
Microsoft Access versions 7.0, 97
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you insert an OLE object into an unbound object frame, the image is
displayed as an icon within the frame instead of filling the entire frame.
CAUSE
Because Microsoft Access depends on an OLE Automation server to display OLE
objects within the unbound object frame, there are two possible causes for
this behavior:
No application that can function as an OLE Automation server has been
associated with the object type.
-or-
The application associated with the object is not capable of functioning as
an OLE Automation server.
RESOLUTION
You must ensure that an application capable of acting as an OLE Automation
server (such as Paint) is installed on your system and that it is set as
the default application to open the OLE object. If you are not sure that
the application is capable of acting as an OLE Automation server, refer to
its documentation or contact the manufacturer of the application.
The following steps will restore Paint as the default application used by
Microsoft Access to insert Bitmap OLE Objects:
- On the Start menu, point to Programs, and then click Windows Explorer.
- On the View menu, click Options.
- In the Options dialog box, click the File Types tab.
- In the Registered File Types box, click Bitmap Image and click
Remove. (NOTE: If you are unable to locate Bitmap Image in the
Registered File Types dialog box, skip to step 5.) Click Yes when
asked if you are sure you want to remove the file.
- In the Options dialog box, click OK.
- In Windows Explorer, on the File menu, click Close.
- On the Start menu, point to Settings, and then click Control Panel
- In Control Panel, double-click the Add/Remove Programs icon.
- In the Add/Remove Program Properties dialog box, click the Windows
Setup tab.
- In the Components list, click Accessories, and then click Details.
- Locate Paint within the Components list. (NOTE: If the component is
not selected skip to step 15.)
- Click to clear the Paint check box, and click OK.
- In the Add/Remove Programs Properties dialog box, click Apply.
- Click Accessories once again, and then click Details.
- Click to select the Paint check box, and then click OK.
- In the Add/Remove Programs Properties dialog box, click Apply.
- Click OK to close the Add/Remove Programs Properties dialog box.
MORE INFORMATIONSteps to Reproduce Behavior
- Open a new blank database in Microsoft Access.
- Create a new form in Design view.
- In the toolbox, click the unbound object frame and drag the object onto
the form.
- In the Insert Object dialog box, click to select Create From File. Click
the Browse button, and select a .bmp file from the Windows folder.
- After selecting a .bmp file, click Open, and then click OK.
- Switch the form to Form view. Note that the .bmp image is displayed as
an icon.
REFERENCES
For more information about OLE Servers, please see the following article in
the Microsoft Knowledge Base:
Q112748 ACC: How to Use In-Place Activation with OLE Objects
Q103257: Reading, Storing, & Writing Binary Large Objects (BLOBs)
Additional query words:
prb iconized small picture
Keywords : kbdisplay AutPrb
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbprb
|