Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TextBox2.Text | Transfer Text to ListBox
#1
Hello, I'm having a small problem developing my program. I would like to be able to transfer the text from TextBox2, and make a new collection item in ListBox1.

Example:
I type "Hello" in TextBox2.
I click a button.
"Hello" is a new item in the ListBox.

Hope I could make it easy to understand, I'm just waking up so my grammar probably isn't 100%.

Thanks to anybody that helps!
Reply
#2
Listbox1.Items.Add(Textbox2.Text)
Reply
#3
(01-02-2012, 02:08 PM)AceInfinity Wrote: Listbox1.Items.Add(Textbox2.Text)


Thanks man, I was stuck on this for a while, even though it was such a small thing :/
Reply
#4
No problem, any further help and just post your issues on the forum here. I'll usually respond to pretty much anything I see in here.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Text Flip [TuT] SouR'D 31 9,126 05-15-2012, 06:11 PM
Last Post: OnyxDev
  [NEED HELP] how to read a text file and import to listview vb.net w00pz 7 6,371 02-13-2012, 06:42 AM
Last Post: AceInfinity
  [VB.NET] - ListBox Drag & Drop - [TUT] Fragma 10 7,686 08-25-2011, 07:02 PM
Last Post: AceInfinity
  Text Editor in VB for beginners Phoenix 10 9,115 08-03-2011, 03:29 PM
Last Post: Phoenix
  Text Converter. Turn your text upside down! Red X 29 8,652 08-01-2011, 07:46 AM
Last Post: Red X

Forum Jump:


Users browsing this thread: 1 Guest(s)