How To Display and Use the OLE Insert Object Dialog Box in VB (217176)
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
This article was previously published under Q217176 SUMMARY
The Insert Object dialog box is used widely in OLE based applications. This article shows you how to display the standard Insert Object dialog box using Visual Basic. It also demonstrates the use of the OLE APIs that need to pass LPOLESTR * from Visual Basic.
REFERENCES
For more information on the constants used in this sample, please refer to the Oledlg.h file that ships with Microsoft Visual C++.
There are many other APIs in oledlg.dll that you can use in your project to display standard dialog boxes. For more information on these APIs, search for OLEUI* in the Visual Studio MSDN.
For more information on how to get the address of variables in Visual Basic, please see the following article in the Microsoft Knowledge Base: 199824 How To Get the Address of Variables in Visual Basic
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbAPI kbhowto kbKernBase KB217176 |
---|
|