This control will show a live video from a webcam or video capture device. It has been tested using a GrabBee Deluxe to display from a composite video source.
The control is based on DirectShow.net library, so it takes a few extra steps to install.
- Download the DirectShowLib-2005.dll library from here:
https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/Misc- In Solution Explorer, right click AdvancedHMIControls\Support directory and select Add->Existing Item
- Change the filter to All Files (*.*)
- Browse to and select DirectShowLib-2005.dll
- In Solution Explorer, Right Click the AdvancedHMIControls project and select Add->Reference
- Browse to AdvancedHMIControls\Support and select DirectShowLib-2005.dll
- Download the attached LiveVideo.vb file
- In Solution Explorer, Right Click AdvancedHMIControls\PurchasedControls and select Add->Existing Item
- Browse to and select LiveVideo.vb
- Build the solution
You will now have a LiveVideo control in your Toolbox that can be added to the form.
If your PC has more than one video device and the display is from the wrong device, increment the VideoDeviceIndex property until you get the right video feed.