Microsoft KB Archive/212573

= WD2000: IPF Error Message When You Try to Convert ActiveX Control Object to Word Picture Object =

Article ID: 212573

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q212573





SYMPTOMS
When you try to convert an ActiveX Control Object to a Word Picture Object by using a Visual Basic for Applications (VBA) macro, you may receive one of the following error messages:

Microsoft Windows 95 or Microsoft Windows 98:

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

If the problem persists, contact the program vendor.

When you click Details (on Microsoft Windows Millennium Edition, press ALT+D), you receive the following message:

WINWORD caused an invalid page fault in WINWORD.EXE at 015f:302b3ba0.

NOTE: The actual memory address may vary.

Microsoft Windows 2000:

WINWORD.EXE has generated errors and will be closed by Windows. You will need to restart the program.

An error log is being created.

To view the error log, click Start, point to Search, and then click For Files or Folders. In the Search for files and folders named box, type drwtsn32.log and then click Search Now. After the file is found, right-click Drwtsn32 (Drwtsn32.log), and then click Open on the shortcut menu that appears.



CAUSE
Microsoft Visual Basic for Applications does not check to see whether the method of conversion that you are applying to an object class is an allowed method for that object class.

The error message appears because the ActiveX object (controls such as a check box, command button, and so on) cannot be converted to the specified object class.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
For more information about ActiveX Controls, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type activex in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

