Page 1 of 1

PHOTO on an application

Posted: Wed Mar 21, 2007 8:07 am
by Silvio
I must insert on a dialog a photo
under the the picture there is a button to call the procedure to open webcam to save a picture and the it must save on field of the get.

Have you an easy sample to acquire a photo from webcam ?

wich class i can use ?

Posted: Wed Mar 21, 2007 10:02 am
by Taiwan
Hello Silvio,

Look this?

1. Start WebCam
Image

2.Capture picture and save as JPG and save information into DBF and Click it to dispaly this picture.
Image

Regards,

Richard
Fivetech.net Taiwan

Posted: Wed Mar 21, 2007 11:58 am
by Silvio
yes
I made a program when the user insert a record have the customer in front of him..
the user insert the name,surname ... and then can capture a photo from webcam
the photo must be save on jpg formats and the name with extension must be save on field get

with class I must use ? have you a easy and small sample ?
I use xharbour/winxp pro

Posted: Wed Mar 21, 2007 3:45 pm
by Taiwan
Silvio wrote:yes
I made a program when the user insert a record have the customer in front of him..
the user insert the name,surname ... and then can capture a photo from webcam
the photo must be save on jpg formats and the name with extension must be save on field get

with class I must use ? have you a easy and small sample ?
I use xharbour/winxp pro
Yes, I save JPG file.
Ex. Customer NO : 001 so JPG name is 001.jpg and save "c:\001.jpg" into
PHOTO field in DBF file.

Right?

Richard

Posted: Thu Mar 22, 2007 7:42 am
by Silvio
yes have U an sample ?

Posted: Thu Mar 22, 2007 1:41 pm
by Taiwan
Silvio wrote:yes have U an sample ?
Yes, I have a sample in my Application's Class code.

Regards,

Richard

Posted: Fri Mar 23, 2007 10:51 am
by Silvio
can you write here the sample code ?