Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

OFF2000: Invalid Page Fault in FM20.DLL When Showing UserForm


View products that this article applies to.

This article was previously published under Q221423

↑ Back to the top


Symptoms

When you show a UserForm, you may receive the following error message:
This program has performed an illegal operation and will be shut down.
If the problem persists, contact the program vendor.
When you click Details, you receive the following error message:
'program' caused an invalid page fault in module FM20.DLL at 015f:60013e12.
Where program is the Microsoft Office program you are currently using.

When you click Close, the program shuts down but an instance of the program is left running in memory.

↑ Back to the top


Cause

This problem occurs when the following conditions are true:
You programmatically set the Autosize property to True for a UserForm control from the Control Toolbox.

-or-

You programmatically set the Autosize property to True for a bitmap image that you are loading onto the UserForm using the LoadPicture method.

↑ Back to the top


Status

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

↑ Back to the top


Keywords: KB221423, kbnofix, kberrmsg, kbbug

↑ Back to the top

Article Info
Article ID : 221423
Revision : 5
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 299