WD97: Converting ActiveX to Picture Causes Invalid Page Fault

Last reviewed: February 11, 1998
Article ID: Q165922
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

Attempting to convert an ActiveX Control Object to a Word Picture Object using Visual Basic for Applications causes the following error:

   This program has performed an illegal operation and will be shut down.

The details of the error show:

   WINWORD caused an invalid page fault in WINWORD.EXE at 0137:30440759.

Choosing OK causes Word to close.

CAUSE

When creating your macro, Visual Basic for Applications does not check to see if the method of conversion you are applying to an object is an allowed method for the object type.

You receive the error message because an ActiveX object (controls such as a check box, command button, and so on) cannot be converted to a Word Picture object.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

RESOURCES

For more information about ActiveX, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE ID: Q163435
   TITLE: VBA: Programming Resources for Visual Basic for Applications

   ARTICLE ID: Q155965
   TITLE: WD97: CTRL+Z UNDO Will Not Work In Form Control Tools

   ARTICLE ID: Q162598
   TITLE: WD97: ActiveX Controls Lose Sizing After Previewing in Browser

   ARTICLE ID: Q155903
   TITLE: WD97: Error Inserting ActiveX Control

For more information about "ActiveX," click the Office Assistant, type "ActiveX," click Search, and then click one of the following topics:
  • Insert form fields or ActiveX controls in a form
  • Form elements you can use on a web page
  • Register a new ActiveX control
  • Designing a web page

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Word Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:


Additional query words: vb vba vbe ocx
Keywords : kberrmsg kbprg kbwordvba word8 word97
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug


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: February 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.