Results 1 to 4 of 4

Thread: Is there a way to serialzie a listbox?

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Is there a way to serialzie a listbox?

    Is there a way to serialzie a listbox and its items so it is faster to load all its items(it has like 175 000)?

    Or is there any other good way round? I have all items currently in a text file
    \m/\m/

  2. #2
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95
    175,000 items? this is acually a big ammounf of data to be human usable one control, maybe you have to split the data into a size limited groups, and load each one only when it necessary.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

  3. #3
    Hyperactive Member CyberHawke's Avatar
    Join Date
    May 2004
    Location
    Washington DC
    Posts
    477
    To serialize a listbox, I'm not sure the framework provides a way to serialize built in objects, but I don't discount it either. If you want to serialize the data, try reading it in to a collection and serializing the class that contains the collection.

    Just a thought.
    Whadayamean it doesn't work....
    It works fine on my machine!

  4. #4
    Lively Member TLord's Avatar
    Join Date
    Jun 2004
    Posts
    95
    Did you try databases?
    I didn't mention in my last post that 175,000 is just a perfect example where the databases jump into the scene, text files aren't so efficient for holding sucha huge ammount of data.
    Do you think my life is easy?
    Do you think it's good to win?
    do you think it's nice to kill?
    Do you think learning is a must?
    Do you think computers are nothing?
    Do you think this post is stupid?
    Do ypu think we're really humen?

    DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !

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