A.15. Programming and ActiveX Programming

AddressOf Operator

Passes the address of a Visual Basic callback function to an API function

CreateObject Function

Returns a reference to an ActiveX component

Declare Statement

Defines a prototype for a call to an external DLL library function

Event Statement

Defines a prototype for a custom event

For Each...Next Statement

Iterates through a collection or array of objects or values, returning a reference to each of the members

GetObject Function

Returns a reference to an ActiveX object

Implements Statement

Denotes that the current module implements all procedures of the specified standard or abstract interface class

RaiseEvent Statement

Fires an event

Set Statement

Assigns an object reference to an object variable

With...End With Statement

Allows the implicit use of an object reference

WithEvents Keyword

Denotes that the current module will handle events fired by the specified object

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.