ACC97: Error Double-Clicking ActiveX Control in Design ViewLast reviewed: June 6, 1997Article ID: Q167372 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. When you try to view the custom property sheet of an ActiveX control by double-clicking it in Design view of a Microsoft Access form, you may receive one of the following error messages:
A problem occurred while Microsoft Access was communicating with the OLE server. -or- This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.When you click the Details button, you receive the following message:
MSACCESS caused and invalid page fault in module <ActiveX Control>.OCX CAUSEThe primary verb of the ActiveX control is requesting that Microsoft Access activate it in place. However, Microsoft Access only supports in-place activation of objects in Form view. Microsoft Access does not allow in-place activation of objects in Design view.
RESOLUTIONThere are two methods that you can use to view the property sheet of the ActiveX control.
Method 1
Method 2
MORE INFORMATIONMany users double-click an ActiveX control in Form Design view to view the control's custom property sheet. However, double-clicking any OLE object, such as an ActiveX control, causes Microsoft Access to invoke the object's primary verb. The primary verb for most ActiveX controls is Properties. However, the primary verb for some ActiveX controls is Edit, which means it is requesting that the container application activate it in place. Whether or not you receive an invalid page fault depends on how robust the ActiveX control is, and how it responds to not being activated in-place by the client application.
Steps to Reproduce Behavior
REFERENCESFor more information about in-place activation, search the Help Index for "in-place activation," or ask the Microsoft Access 97 Office Assistant.
|
Additional query words: IPF
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |