Click here to Skip to main content
15,909,373 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi friend i am currently designing a project on employee management system in which there is a picturebox and a upload button. If the user clicks on upload the file is open and the user select the desired picture from the file and display in the picturebox which is then saved to the db. Now what i want is intead of uploaded a picture from the user machine i want the user to be able to snap a picture with a webcam and display in the picturebox and also save it to the db.thanks for your help in advance
Posted
Comments
Sergey Alexandrovich Kryukov 30-Oct-12 21:41pm    
Can you understand that PictureBox is totally irrelevant? You need a picture, not the control PictureBox. This is really a totally redundant control, only used for simplicity. Now, what's the problem? What did you try so far?
--SA
Ese Ochuko 31-Oct-12 4:32am    
I was using a dll file which i downloaded from the net, webcamcapture.
This is the code i am using to start my webcam

this.WebCamCapture.TimeToCapture_milliseconds = 1;
this.webcamCapture.Start(0);
this.WebCamCapture.Capture= true;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900