Camera objects
The Folder property must be set for connections to HTC camera devices before you call the Open function. This property is ignored for connections to HP or VEO camera devices.
You set the Folder property value to the directory on the Windows CE device where you want to store your photos for the current Camera object.
To set the Folder property
Select the Camera object in the Non-Visual Object List and open the Properties view.
Select the CameraType you want from the drop-down list.
Type the path to the directory on a Windows CE device that you want to use to store camera images.
The Folder property takes a string. This example saves images snapped by an HTC camera to the \Program Files\Photos directory:
cam_1.CameraType = 81 //specifier for HTC camera
cam_1.Folder="\Program Files\My Photos"
cam_1.Open(w_myphoto_main)
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |