The information in this article applies to:
SYMPTOMSOn 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: -or- -or-
RESOLUTIONTo work around this problem, do one of the following:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Note that Visual Basic terminates with one of the errors mentioned above. If no problem occurs, repeat steps 7 and 8. If the problem still does not occur, try restarting Visual Basic and repeat the steps beginning at step 6. This problem also occurs when running the project as a compiled .exe file. WorkaroundTo work around this problem, put a Frame control on Tab0 and then put the OLE control inside the Frame control. Size the Frame control so it is large enough to accommodate the OLE control and set the Borderstyle property of the Frame control to 0 if you wish to hide the Frame's border and caption.Additional query words: ipf OLE container
Keywords : kbusage kbCtrl kbVBp kbVBp500bug kbVBp600bug kbVS97 kbVS97sp2 kbVS97sp3 kbGrpVB kbDSupport |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |