VB.NET - How To Browse Image Into PictureBox Using VB.NET
In This VB.NET Tutorial We Will See How To Browse And Display Image Into PictureBox In VB.NET Programming Language.
Project Source Code:
Public Class VB
Private Sub BtnBrowseImage_Click(sender As Object, e As EventArgs) Handles BtnBrowseImage.Click
Dim opf As New OpenFileDialog
opf.Filter = "Choose Image(*.jpg;*.png;*.gif)|*.jpg;*.png;*.gif"
If opf.ShowDialog = DialogResult.OK Then
PictureBox1.Image = Image.FromFile(opf.FileName)
End If
End Sub
End Class
///////////////OUTPUT:
VB.NET Load Image |
2 comments
comments(y)(y)(y)(y)
Reply:3
Reply(y)(y)(y) !