CanaimaSoft
f90SQL
Search
Contents
f90ADO
Links
f90VB
 
 
 
 
Summary of Procedures in f90VB's Automation Library

The table below provides summary descriptions of the procedures included in the Automation Library. For full descriptions, check the f90VB Reference Manual.

Procedure Name
Description
AddRef Increase the reference-counter of an object.
CLSIDToProgID Returns the Programmatic Identifier (ProgID) corresponding to the passed Class Identifier (CLSID).
ComInitialize Initializes the COM library on the current thread and identifies the concurrency model as single-thread apartment (STA).
ComInitializeEx Initializes the COM library on the current thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required.
ComUninitialize Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close.
CreateOleObject Creates an instance of an OLE object, returning a variant containing a reference to the object's IDispatch interface.
CreateRemoteOleObject Creates an instance of a remote OLE object, returning a variant containing a reference to the object's IDispatch interface.
EmptyParam Returns a variant used to indicate an empty parameter in calls to f90VBAutomation subroutines.
EnumerateMembers Enumerates the properties and methods exposed by an Automation object.
EventSinkConnect Establishes a connection between an instance of a sink object and an outgoing interface of an Automation object.
EventSinkCreate Creates an event sink object that can be connected to an outgoing interface of an Automation object.
EventSinkDestroy Destroys (and disconnects) an instantiated Event Sink object.
EventSinkDisconnect Disconnects a connected event sink object.
EventSinkEnumEvnts Enumerates the events exposed by the outgoing interface of an Automation object.
EventSinkRegEvnt Registers a Fortran function as the function to be executed when the event sink object receives an event from the Automation object to which the sink is connected.
EventSinkUnregEvnt Un-registers a Fortran function associated to an event in a connected sink object.
ExceptionClear Clears the fields and releases the BStrings contained in an Exception Information Structure.
ExecMethod Executes a method exposed by an object.
GetActiveOleObject Returns a variant containing a reference to the IDispatch interface of the active object for the class indicated in ObjRef.
GUIDToStr Converts a Global Unique Identifier (GUID) into its string representation.
Invoke Function Invoke can be used to execute methods, as well as to set or retrieve the values of the properties of an object.
NullGUID Returns a null GUID structure. Null GUIDs have all their fileds set to zero..
OleInitialize Initializes the COM library on the current thread and identifies the concurrency model as single-thread apartment (STA).
OleUninitialize Closes the COM library on the current thread, unloads all DLLs loaded by the thread, frees any other resources that the thread maintains, and forces all RPC connections on the thread to close.
ProgIDToCLSID Checks the registry and returns the ClassID (CLSID) of an Automation-capable object. If the object is not registered, an error condition occurs.
PropertyGet Gets the value of the specified object's property.
PropertyPut/PropertySet Set the value of the specified object's property. PropertySet is used only to set properties that receive values by reference.
Release Releases the interface to an object, and unloads the object from memory if the reference-counter of the object reaches zero. This is the standard method to destroy objects created with subroutine CreateOleObject, CreateRemoteOleObject, CreateComObject and CreateRemoteComObject.
StrToGUID Converts a string containing a GUID into its equivalent GUID structure.
Check the examples showing how easily you can create a Fortran program to control Excel using f90VB's Automation Library
Copyright © 1998-2000 Canaima Software
For questions regarding this site, send an e-mail to
webmaster@canaimasoft.com