Results 1 to 33 of 33

Thread: Parse text file or xml into listboxes

Threaded View

  1. #29
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Parse text file or xml into listboxes

    Quote Originally Posted by ice_531 View Post
    Also, having some trouble with your code for sorting. Some of the fields in distance will not be numbers. but the word "Unknown"
    How about instead of 'Unknown' you put in a value of minus one ? You might have to adjust the leading zero bit to account for the '-' sign (they'd then sort to the top), alternatively you could put a value greater than the radius of the earth (they'd sort to the bottom), then after the sort you could change them to 'Unknown' if required
    Last edited by Doogle; Jul 9th, 2011 at 02:30 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width