Hi im using visual basic 6. yes, its old and not cool, i know.
So i have a textbox1 with this "HELLO WORLD"
I also have textbox2 blank.
command1 button
=======================================
I want the user to type whatever inside textbox2, and click on the command1, so whatever text typed in textbox2 would get inside, in the middle of text from textbox1.
ex.
=======================================
textbox1 with this "HELLO WORLD"
textbox2 with this "BEAUTIFUL"
click on command1 button
textbox1 ends up with "HELLO BEAUTIFUL WORLD"
What I have tried:
Private Sub Command1_Click()
Text1.Text = Text2.Text
End Sub
Private Sub Form_Load()
Text1.Text = "HELLO WORLD"
End Sub
my code just copies the text2 and pastes it inside text1, thats not what im looking for!