Drivers Property (ASystem)

Returns an ADriver object as specified by the vKey parameter.

Syntax

[ aDriver = ] Object.Drivers ( vKey )

The Drivers property syntax has the following parts:

 

Name

Type

Description

Object

ASystem

ASystem object

vKey

Val Variant

The parameter which specifies the ADriver object. This can be a number (index) or a string (driver shortcut name).

aDriver

ADriver

An ADriver object as specified by the vKey parameter.

Comments

If a driver file is missing (shows in yellow in the workspace Window). The return object is Nothing.

Example

The following statements retrieve an ADriver object as specified by the vKey:

drv = System.Drivers(5)

or

drv = System.Drivers("DMM")

Applies to

ASystem

See Also

System Variable, ADriver, ASystem Class, DriversCount