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 |
Bagikan
VB.NET - How To Load Image Into PictureBox In VB.NET
4/
5
Oleh
insurance