'create first video source Dim cam As New VideoCaptureDevice(videoDevices(cboCameras.SelectedIndex) .MonikerString) cam.DesiredFrameRate = 10 fMain.VideoSourcePlayer1.VideoSource = cam fMain.VideoSourcePlayer1.Start() 'when each frame is received, f(cam_newFrame) is called 'cam.NewFrame += New NewFrameEventHandler(AddressOf cam_NewFrame) - This just gives me errors 'Dim img As Bitmap = DirectCast(cam.NewFrame.Clone(), Bitmap) - Displays a 'Blank' picture Dim img As Bitmap = Bitmap.FromFile("C:\tgtMan-with holes.bmp") - This works, but it's not the video fMain.PictureBox1.Image = img
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)