The information in this article applies to:
SYMPTOMSYou have a control that contains:
You get an Invalid Page Fault (IPF) when the control fires the Change event.
CAUSEWhen you put a control on the Visual Basic form, Visual Basic creates an extended control that provides some extended properties. The extended control has several events reserved, such as:
When a Visual Basic client tries to sink an event, the extended control's events and the control's events will be combined into the same vtable. However, if your control also defines a Validate event, Visual Basic cannot distinguish between them and considers them to be one, so that the vtable structure for the sink is incorrect.Furthermore, if you define other events used in the extended control, you may get an error message when you try to load the control to your project. A typical error message would be: "xxx control could not be loaded." RESOLUTIONChange the Validate event to another name, such as:
You can also use the same event name with a different argument list, but then you cannot get to the event entry from the combo box in the integrated development environment (IDE).
MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: GPF
Keywords : kbActivexEvents kbVBp600 kbGrpVB kbDSupport |
Last Reviewed: September 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |