I just started programming in VB again so I forgot a lot :(. Anyways can anyone tell me how to make a button send text to a RichTextBox? Thanks ahead of time to anyone who replies.
Printable View
I just started programming in VB again so I forgot a lot :(. Anyways can anyone tell me how to make a button send text to a RichTextBox? Thanks ahead of time to anyone who replies.
Hi, are you wanting to send a predefined set of text?
Ya, I want to send a numerical value such as; 7 to a richtextbox.
Also forgot to add I'm using VB 2010, also the version is fully up to date.
Easy.....
To replace all the text in the RTB you would use
If you wanted to preserve the text in there and add your ownCode:Richtextbox1.Text = "7"
Code:Richtextbox1.Text = Richtextbox1.Text & "7"
I feel pretty dumb now xD... thanks for the help.