CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    108

    listview saving?

    how can i save the contents of my list view..column headers and all into a nice file that can easily be called and restored back into a listview?

    thanx


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: listview saving? Try Old method - INI files

    Try Old method, INI file.
    Save the contents into an ini file and restore back. You can even go to the level of saving column widths etc, so that it comes out exactly the way it was before.

    Save each row of data, (all sub items for one list item) to one key value, with a known data seperator. ',' is the standard stuff.

    Then read back the key contents, parse using the same seperator and add back to the listview.
    I dont have a code at hand, otherwise i would have provided here. Tell me if you have troubles impementing..


    RK

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

Featured