954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Add numbers and sort in Visual Basic

Hello, I am new to daniweb. I am a student in my first coding class and I am stuck trying to figure out one of my projects.

My teacher wants me to have a text box that you can type a number in, then add it to a list box with a button, then have another button that can sort all of those numbers.

Any help will be great, thank you.

JCWatson
Newbie Poster
1 post since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

ListboxName.AddItem string -----this is a method

and set the Sorted property to True

Use the above hint and post back here what code you comeup with.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: