Driver

 

Remarks Properties Methods Samples

ED
avaliable
RT
read only

Remarks:Top

The object Driver includes important information on the defined drivers, e.g. name, driver, status and mode.

Properties:Top

Driver Identification Name
Parent    

Methods:Top

Browse CheckIn CheckOut
CloseConfig DynPropertiesEnum[GET] DynProperties[GET]
DynProperties[PUT] Get IsCheckedOut
IsDifferent IsLocked OpenConfig
SupportsChannel UndoCheckOut  

Samples:Top

Public Sub DriversSample()
Dim zDrivers As Drivers
Dim zDriver As Driver
Dim i As Integer

	'get drivers collection
	Set zDrivers = MyWorkspace.ActiveDocument.Drivers

	'Enumerate existing drivers in the project
	For i = 0 To zDrivers.Count - 1
		Debug.Print zDrivers.Item(i).Name
	Next i

	'Create a new driver and check if already exists
	Set zDriver = zDrivers.Item("NewSimulationDriver")
	If zDriver Is Nothing Then
		Set zDriver = zDrivers.CreateDriver("NewSimulationDriver", "SIMUL32")
	End If

End Sub