How to Obtain a Listing of Classes for OLE Client Control (87001)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows
This article was previously published under Q87001 SUMMARY
Below is an example of how to obtain a list of the Object Linking and
Embedding (OLE) class properties for the OLE Client control in Visual
Basic. This example is based on the ServerAcceptFormats example on page 214
in the "Microsoft Professional Toolkit for Visual Basic: Custom Control
Reference" for version 1.0.
This example gets the information from the REG.DAT file in your
Windows directory. It uses the ServerClasses property to return a
listing of the classes to a list box. The Class property is discussed
on pages 198-201 and 207 of the "Microsoft Professional Toolkit for
Visual Basic: Custom Control Reference" for version 1.0. The
ServerClasses property is discussed on pages 201 and 217 in the same
manual.
Note that the CtlName property in Visual Basic version 1.0 has been
changed to the Name property in Visual Basic version 2.0.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | KB87001 |
---|
|