title: Adding picture boxes dynamically in VB.Net
body: <p>I'm sure there is someone out there who can explain this clearly.</p>
  
  <p>I would have assumed that I could simply use:</p>
  
  <pre><code>Dim pb As PictureBox
  </code></pre>
  
  <p>then I could use</p>
  
  <pre><code>pb = New PictureBox
  </code></pre>
  
  <p>but apparently not.</p>
  
  <p>I would also assume I can set parameters</p>
  
  <pre><code>pb.Width
  pb.Height
  pb.Top
  pb.Left
  </code></pre>
  
  <p>etc.</p>
  
  <p>If anyone can help me create a picture box dynamically where I can set the properties I would be so grateful, thanks.</p>
  
  <p>I'm also sorry if this question has already been asked, but I have been looking for a few hours now and nothing has worked for me.</p>