ahmm.. guys could u please help me about tab control .
I have a text input in textbox1 in tab page 1 and i want
that text from textbox1 will be displayed in textbox2 in tab page 2.
please help me ..

Try This

private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
        {
          Textbox1.Text = textbox2.Text; 'here Textbox1 from tab1 and textbox2 of tab2
        }

ahmm, I'm using vb 2005 and it doesn't seem to work.
please help me ill appreciate it.
Thanks in advance.

i have converted your code to fit in vb 2005.
into this.

private sub TabControl1_SelectedIndexChanged(object sender, EventArgs e)
me.textbox1.text = me.textbox2.text
end sub

but the object is in error of not valid identifier.
please correct me if my code is wrong.

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.