WD2000: IPF Error Message When You Try to Convert ActiveX Control Object to Word Picture Object (212573)



The information in this article applies to:

  • Microsoft Word 2000

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.

REFERENCES

For additional information about getting help with Visual Basic for Applications, click the article numbers below to view the articles in the Microsoft Knowledge Base:

212623 WD2000: Macro Programming Resources

226118 OFF2000: Programming Resources for Visual Basic for Applications


Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbbug kberrmsg kbnofix kbProgramming KB212573