Chapter 4: ActiveX Client Interfaces
These reference pages show the syntax of method calls in the Microsoft Visual Basic language. For other development tools, use the tool’s OLE object browser to see method syntax displayed as appropriate for the tool’s script syntax. The reference page for each interface lists the ActiveX type library that defines the interface and the interface’s ProgID.
The reference page for each interface lists the interface’s ProgID and the name of the type library that defines it. You may need this information to create object references. For example, in Visual Basic, you must add references to the project for each EAServer type library that contains an interface used by your application. In your Visual Basic code, objects that implement the interface can be declared using this syntax:
Dim myobject As typelib.interface
where typelib is the name of the type library that defines the interface, and interface is the name of the interface. If code that follows this rule does not compile, you most likely have not added a reference to the type library in your project.
|Copyright © 2005. Sybase Inc. All rights reserved.|