title: Displaying image from folder/file in vb.net
body: <pre><code>Dim ImagePath As String = "images/spaceship2.png"
  Dim img1 As Bitmap
  Dim newImage As Image = Image.FromFile("images/spaceship2.png")
  
  img1 = New Bitmap(ImagePath)
  pb2.ImageLocation = ImagePath
  
  pb1.Image = newImage
  </code></pre>
  
  <p>I want to display image from folder,  for example, student with an id number of 22137471, the picture with the name of  22137471 will be display on my picture box, between, i saw this code somewhere in google.</p>