Article ID: 186270
Article Last Modified on 3/3/2005
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
- Microsoft Visual Studio 97 Service Pack 3
This article was previously published under Q186270
SYMPTOMS
On a Visual Basic form, an OLE control is placed on a Microsoft Tabbed
Dialog control. You write code to embed a file into the OLE control using
the CreateEmbed method. When the user clicks the tab that contains the OLE
control, one of the following errors occur and the application terminates:
VB5 caused an invalid page fault in module TABCTL32.OCX at
0137:212f8b26.
-or-
<Project Name> executed an invalid instruction in module OLE32.DLL at
0137:65fa93ae.
-or-
Exception: Access violation (0xc0000005), Address: 0x212f8b26
RESOLUTION
To work around this problem, do one of the following:
- Place the OLE control inside a Frame control.
-or-
- Make the Tab that contains the OLE control the active tab before using
the CreateEmbed method.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
Additional query words: ipf OLE container
Keywords: kbbug kbctrl kbpending kbusage KB186270