FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour PHOTO on an application
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
PHOTO on an application
Posted: Wed Mar 21, 2007 08: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
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
PHOTO on an application
Posted: Wed Mar 21, 2007 10:02 AM
Hello Silvio,

Look this?

1. Start WebCam


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


Regards,

Richard
Fivetech.net Taiwan
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
PHOTO on an application
Posted: 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
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
PHOTO on an application
Posted: Wed Mar 21, 2007 03: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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
PHOTO on an application
Posted: Thu Mar 22, 2007 07:42 AM

yes have U an sample ?

Best Regards, Saludos



Falconi Silvio
Posts: 218
Joined: Fri Oct 07, 2005 01:55 AM
PHOTO on an application
Posted: Thu Mar 22, 2007 01:41 PM
Silvio wrote:yes have U an sample ?


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

Regards,

Richard
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
PHOTO on an application
Posted: Fri Mar 23, 2007 10:51 AM

can you write here the sample code ?

Best Regards, Saludos



Falconi Silvio

Continue the discussion