hi,

i am using hp ipaq 6965. i wrote a code for accessing the built-in camera..

the code is as follows



int i = 0;

CameraCaptureDialog cameraCaptureDialog = new CameraCaptureDialog();

cameraCaptureDialog.Owner = this;

cameraCaptureDialog.Title = "Take Photo";

cameraCaptureDialog.Resolution = new Size(640, 480);

cameraCaptureDialog.Mode = CameraCaptureMode.Still;

cameraCaptureDialog.InitialDirectory = "\\Storage Card\\imgDir";

while (i <5)

{

if (DialogResult.OK == cameraCaptureDialog.ShowDialog())

{

cameraCaptureDialog.DefaultFileName = "img_" +
DateTime.Now.ToString("dd-MM-yy_HH-mm-ss") + ".jpg";

}

i++;

}



My idea was to take 5 photos continuosly.(Sequence photo)

it is working .. but some problems are there.



1. Camera is opening in portrait mode (but i want it to be in landscape mode)



2. Camera is going to standby after 15 secs. (i want to extend this time)



3. To take 5 photos its taking me atleast 3 minutes (Long delay!!!!!)

I don't know how, after taking each photo, the camera is
disappearing and reappearing (Cause of delay...)



is there any way i can reduce the delay??? can i open the camera in
landscape mode??



please help.

Rabeeh