Chapter 3: ActiveX IDispatch Interface Reference  IDispatch interface index

Chapter 3: ActiveX IDispatch Interface Reference

How to use these reference pages

These reference pages show the syntax of method calls using Microsoft’s 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 will list 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. IDispatch interface index