title: Emgu webcam in VB beginner
body: <p>lets go with the idea that i know nothing about nothing...</p>
  
  <p><a href="https://www.youtube.com/watch?v=37l6-O0T6EA" rel="nofollow noreferrer">https://www.youtube.com/watch?v=37l6-O0T6EA</a></p>
  
  <p>I was following this vids, all going well. but failing on "capturez.QueryFrame"</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>Imports Emgu.CV
  Imports Emgu.CV.Util
  Imports Emgu.CV.Structure
  
  Public Class Form1
  
      Dim capturez As Capture = New Capture
  
      Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  
          Dim imagez As Image(Of Bgr, Byte) = capturez.Retrieve() 'Instead of QueryFrame, you may need to do RetrieveBgrFrame depending on the version of EmguCV you download.
  
          PictureBox1.Image = imagez.ToBitmap()
  
      End Sub
  End Class</code></pre>
  </div>
  </div>
  </p>