Hey guys, i got my program working from the other thread i have but i dont know how to make it so each number 1,2,3,4,5,6,7,8,9,10, stay underneath each other in a textbox, its set to true on word wrap so im not sure what else i can do. Also is there a way to clear the screen/textbox. Usually in VB6 it is cls but its not working in VB.net. Thanks.

Member Avatar for iamthwee

Hey guys, i got my program working from the other thread i have but i dont know how to make it so each number 1,2,3,4,5,6,7,8,9,10, stay underneath each other in a textbox

txtBox.text &= number & System.Environment.newline

Also is there a way to clear the screen/textbox

txtBox.text = ""

Just a side note. Appending to a text box is hiddeously slow. I would prefer using a listbox instead.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.