How to Read OLE Type Library Information in Visual FoxProID: Q139389 3.00 WINDOWS kbinterop kbole kbhowto The information in this article applies to:
SUMMARYVisual FoxPro allows the use of OLE controls in your applications. These controls are available from a variety of sources. Often, it is necessary to determine the names of the properties, methods, and events available in an OLE control.
MORE INFORMATIONThis information is available through the OLE control's type library, which was created by the .ocx developer. Visual FoxPro allows you to read this information programmatically by using the AMEMBERS() function.
Steps to Determine Events, Methods, and Properties Exposed in an .Ocx File1. Create a new form. 2. Add an OLE Container control to the form. 3. On the Insert menu, click Control, and select the desired control. 4. Save and run the form. Minimize the form. 5. In the Command window, type:
The array containing the exposed properties and methods of the .ocx should
be displayed.
Additional reference words: 3.00 VFoxWin KBCategory: kbinterop kbole kbhowto KBSubcategory: FxinteropOle
|
Last Reviewed: November 15, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |