Results 1 to 4 of 4

Thread: Anyone have a function that loads/saves listviews?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    Anyone have a function that loads/saves listviews?

    Anyone? o_O

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Anyone have a function that loads/saves listviews?

    You can make one yourself. The idea would be save each row in a line in a text file. Then use a character (or combination of characters) that wouldn't be in any of the columns of the listview and join all the columns' text with that character(s). Then when you read the file you split by that and add again to the listview.


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871

    Re: Anyone have a function that loads/saves listviews?

    Or use an XML file to save it in; xml is perfectly suited for tasks like this one. You can then easily save things like the key, tooltiptext etc. as well.
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

  4. #4
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Anyone have a function that loads/saves listviews?

    Or property bags...
    I would go for XML though.
    But for this you either need to write your own XML reader/writer, or make a reference in your app to MS XML objects.

    Woka

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