Page 1 of 1

insert function

Posted: Thu Jan 31, 2008 8:30 pm
by Dagger13
when ever i use this : richtextbox1.Text.Insert(2, "blahblah")

it doesnt work i really need help with this or if there is a differnt way to insert text into a certain spot plz tell me
i dont get an error it just doesnt do anything

this is for vb 2005

Re: insert function

Posted: Fri Feb 01, 2008 12:02 am
by Prey
richtextbox1.Text = richtextbox1.Text.Insert(2, "blahblah")

Posted: Sat Feb 02, 2008 10:22 am
by Dagger13
ok thanks