title: VB.NET draw image (set pixel)
body: <p>lets say that i want to create image with width and height 64 and set all pixels to black</p>
  
  <pre><code>dim b as bitmap
  
  b.width = 64
  b.height = 64
  
  for y = 0 to 64
      for x = 0 to 64
          b.setpixel(x,y ,color.black)
      next
  next
  
  dim p as new panel
  
  p.width = b.width
  p.hieght = b.height
  p.backgroundimage(b)
  </code></pre>
  
  <p>the code not working</p>