PHOTO on an application

PHOTO on an application

Postby Silvio » Wed Mar 21, 2007 8:07 am

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

Postby Taiwan » Wed Mar 21, 2007 10:02 am

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
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Silvio » Wed Mar 21, 2007 11:58 am

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

Postby Taiwan » Wed Mar 21, 2007 3:45 pm

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
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby Silvio » Thu Mar 22, 2007 7:42 am

yes have U an sample ?
Best Regards, Saludos

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

Postby Taiwan » Thu Mar 22, 2007 1:41 pm

Silvio wrote:yes have U an sample ?


Yes, I have a sample in my Application's Class code.

Regards,

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

Postby Silvio » Fri Mar 23, 2007 10:51 am

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

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 73 guests