I would like to do 2 things (or one of the two)

I have in form1 a textbox1 and i would like to bring the info of it to a textbox (or label) in form2

If it's possible i would like to set a picture from form1 to form2 (if that's possible)

(i'm new and noob)

Recommended Answers

All 2 Replies


For your first question, you can do it like this:

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        TextBox1.Text = Form1.TextBox1.Text

    End Sub


For your second question, you need to use this in the load event of your Form1:


In your form2 you can show it like this:

PictureBox1.Image = Form1.PictureBox1.Image
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.