Hello,,,
I am creating a screen call (Contacts information) for my project using VB.NET where i want to add picture box contanin as(defualt picture) and button when click in it appear browse picture where you can select the picture you want and appear in the picture box.
can any one help me how to do it? and what to use?/

thanks:confused:

Add an OpenFileDialog to your project and in your button click add this:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
            PictureBox1.Load(OpenFileDialog1.FileName)
        End If
    End Sub

Thank you very much :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.