PHOTO on an application

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

PHOTO on an application

Post 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 ?
Best Regards, Saludos

Falconi Silvio
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post 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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post 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
Best Regards, Saludos

Falconi Silvio
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post 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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

yes have U an sample ?
Best Regards, Saludos

Falconi Silvio
User avatar
Taiwan
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan
Contact:

Post by Taiwan »

Silvio wrote:yes have U an sample ?
Yes, I have a sample in my Application's Class code.

Regards,

Richard
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

can you write here the sample code ?
Best Regards, Saludos

Falconi Silvio
Post Reply