Find Jobs
Hire Freelancers

VB6 Sort Data Linked in Two Listboxes

$30-100 USD

Abgeschlossen
Veröffentlicht vor etwa 14 Jahren

$30-100 USD

Bezahlt bei Lieferung
This is a very simple VB6 project to part of a larger VB6 project. I just need some code to add-in. I have attached this project a zip file containing 2 plain text files: [login to view URL] [containing 89 entries] [login to view URL] [containing a partial list of 4400 +/-] Here is what I want. Create two list boxes, list1 and list2. In list 1 load [login to view URL], and in list2, load stars.txt. Simple so far. Here is where I need your help. In the last field of each line in [login to view URL] is the name of a constellation from list1. A typical line in [login to view URL] looks like this: 12|166066|00 07 46.8|-22 30 32|5.94|55.56|-79.07|A2Vp:|Cetus 13|192367|00 08 03.5|-33 31 46|5.68|355.91|-78.67|K1III|Sculptor 14|128602|00 08 12.1|-02 26 52|6.07|98.34|-63.24|K2III+F|Pisces 15|73765|00 08 23.3|+29 05 26|2.06|111.73|-32.84|B8IVpMnHg|Andromeda etc.... in the full list of about 9000+ Note they are "|| pipe separated for easy parsing. Here is the idea: When someone clicks on any item from list1, the constellations, the code will grab ONLY those entries from [login to view URL] that have as the last field, just explained, the match to list1. IOW, if someone clicks in list1 "Pisces", then you will open list 2, grab only those lines that have as their last field "Pisces" and load them into list2. So now list 2 will ONLY show items from [login to view URL] that have "Pisces" as their last field. Now here's the kicker: I need the list2 (the stars) to be randomly sorted each time the list is refreshed or load with the data. So if the end-user clicks on Pisces once, they get the list2 sorted randomly, and if they click Pisces again, the sort order in list2 will vastly differ from the first random sort of the Pisces entry. In the first line of [login to view URL], you will note an entry before the constellations listings called "Best Available". In that case, and in that case only you will load the entire contents of [login to view URL] randomly sorted, so that the end-user will never get the same sort twice when choosing Best Available. Just like you did for the Pisces example. If you have to randomly sort the data ten times in memory, that's fine, just make sure it is wildly sorted in list2. List1 never gets sorted. I want all sorting done fast :-) ## Deliverables I require good code commenting so I can follow the code logic.
Projekt-ID: 3118583

Über das Projekt

7 Vorschläge
Remote Projekt
Aktiv vor 14 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
See private message.
$25,50 USD in 2 Tagen
5,0 (29 Bewertungen)
3,8
3,8
7 Freelancer bieten im Durchschnitt $53 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$85 USD in 2 Tagen
5,0 (80 Bewertungen)
7,0
7,0
Avatar des Nutzers
See private message.
$42,50 USD in 2 Tagen
4,9 (450 Bewertungen)
6,9
6,9
Avatar des Nutzers
See private message.
$21,25 USD in 2 Tagen
5,0 (134 Bewertungen)
5,7
5,7
Avatar des Nutzers
See private message.
$34 USD in 2 Tagen
4,8 (59 Bewertungen)
5,4
5,4
Avatar des Nutzers
See private message.
$85 USD in 2 Tagen
5,0 (30 Bewertungen)
4,9
4,9
Avatar des Nutzers
See private message.
$76,50 USD in 2 Tagen
5,0 (12 Bewertungen)
3,0
3,0

Über den Kunden

Flagge von UNITED STATES
Taft, United States
5,0
59
Zahlungsmethode verifiziert
Mitglied seit Feb. 21, 2001

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.