Computing.Net > Forums > Programming > [Visual Basic] Sorting results from an array

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

[Visual Basic] Sorting results from an array

Reply to Message Icon

Name: Shawon
Date: May 1, 2009 at 17:04:15 Pacific
OS: Microsoft Windows Vista Ultimate
CPU/Ram: 2.167 GHz / 2549 MB
Product: Gateway / Gateway mystique-c
Subcategory: General
Comment:

I'm working on this simple program for a class, I'm pretty much done with it just need to add one more feature, the ability for it to sort the results from highest to lowest by the price.

Here's the code for the program: http://www.liquidsmoke.net/vb.txt

And here's the data file the program is reading from: http://www.liquidsmoke.net/usedbook...

This is only for the 2nd button procedure, the one searching by book title and displaying on textbox4. I want the results to show up sorted by price from highest to lowest. I'm just confused as how to do that and in class there was an example of bubble sorting, but I'm not really sure how to implement that, just seems sorta confusing to set up.

So anyone that can help I'd really appreciate it, thanks. If possible, you can just modify my code and paste it or just tell me what to add, etc. Thanks.

WEB/BLOG DESIGN: http://www.liquidsmoke.net/



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


problem in pthread.h and ... Making a Working Double V...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: [Visual Basic] Sorting results from an array

vb6 - gettin maximum from an array www.computing.net/answers/programming/vb6-gettin-maximum-from-an-array/14220.html

Extracting data from an array in C www.computing.net/answers/programming/extracting-data-from-an-array-in-c/8130.html

remove an element from an array www.computing.net/answers/programming/remove-an-element-from-an-array/4225.html