Easy one....

IanW-FRCgroup

New member
Joined
Jan 19, 2004
Messages
2
Location
Merseyside, England
Hi,
Ive just took up teaching myself Visual Baic.Net. Ive started with a book called "Teach yourself VB.Net in 24 hours"

Ive come to an exercise which im sure is simple but with no programming background at all its a little puzzeling.

This is what i want to do

I have a form, a text box at the top (textbox1), a button in the middle and a text box at the bottom (textbox2).

I want to write code that when I click the button, the text from textbox1 is inserted into textbox2..

Can anyone give me an idea of the code i want to be writing for the button.

Regards

Ian
 
Double click on the button and write

Code:
textbox2.text = textbox1.text.

But maybe you should read some more of the book... Im sure this is covered in the book...
 
:) Thanks, I did look further into the book but if i couldnt manage that then you can imagine what the i thought to the rest :confused:

I think I was kinda trying to make it harder than it was.

Youve been a big help though :)
 
Back
Top