Camera objects
DriverName 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 name of the driver.
The DriverName 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 name to a single line edit box:
cam_1.Open(w_myphoto_main) if cam_1.drivername = "" then sle_dname.text = "No driver name specified." else sle_dname.text = cam_1.drivername end if
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |