Visual Basic 2005 Express Edition Question

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
sarge derek





Posts: 60
Joined: Wed Feb 15, 2006 7:59 pm

Visual Basic 2005 Express Edition Question

Post by sarge derek »

Ok im trying to make like an HTML helper so whenever you click on button, for example labeled Image it would come up with HTML tag for an image in the richtextbox. Ive gotten the code to come in the richtextbox but whenever you click another button it replaces the code already in there...how could i get it so it just goes after the text already in there.
Xlink Name: -KyA-Sgt-D, lets play some mods or mlg :)
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

txtboxname = txtboxname + "New code here"
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
sarge derek





Posts: 60
Joined: Wed Feb 15, 2006 7:59 pm

Post by sarge derek »

thanx! i completely forgot about the + sign lol, it was textboxname= textboxname.text + "blahblahblah"
Xlink Name: -KyA-Sgt-D, lets play some mods or mlg :)
modder4321





Posts: 118
Joined: Wed Mar 30, 2005 5:35 pm

Post by modder4321 »

Sarge Derek wrote:thanx! i completely forgot about the + sign lol, it was textboxname= textboxname.text + "blahblahblah"
or just

textboxname.text &= "w/e"

textboxname.text += "w/e"

both work
Post Reply