I am working on a windows form application in visual studio 2012. The webcam was working great when I build the solution at first but later on when I rebuild the solution and click on start button I get prompt first for selecting the video source device.I have acer v5 built in Hd cam. When I press ok then I get the following error.
An error occurred while capturing the video image. The video capture will now be terminated.
Object reference not set to an instance of an object.
Also I just take snapshot of my screen and when I build the application and clicked on the start button I get the snapshot pic in the picture box..
Any help would be highly appreciated.
Thanks.
An error occurred while capturing the video image. The video capture will now be terminated.
Object reference not set to an instance of an object.
Also I just take snapshot of my screen and when I build the application and clicked on the start button I get the snapshot pic in the picture box..
Any help would be highly appreciated.
Thanks.