BUG: SSTab Control Containing OLE Control May Crash (186270)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Studio 97
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.
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbBug kbCtrl kbpending kbusage KB186270 |
---|
|