DriverName  DropLines

Chapter 3: Property Descriptions and Usage

DriverVersion

Applies to

Camera objects

Description

DriverVersion is a read-only value defined by the camera manufacturer. This property can be empty. If the required driver is not found, this value might provide the version of the driver.

Usage


In scripts

The DriverVersion property is a string that, if provided by the vendor, can be used in an attempt to find the driver. This example tests whether the string is empty and, if it is not, writes the driver version to a single line edit box:

cam_1.Open(w_myphoto_main)
if cam_1.driverversion = "" then
   sle_dversion.text = "No driver version specified."
else
   sle_dversion.text = cam_1.driverversion
end if





Copyright © 2005. Sybase Inc. All rights reserved. DropLines

View this book as PDF