Using Registry to save listbox contents.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Using Registry to save listbox contents.

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Using Registry to save listbox contents.

    [Originally posted by Jeff]

    How is this done? Eveytime they add a new name into the listbox I want it to automaticly save the new entries. Also how do you call them back when the form is loaded?

    Thanks!
    -Jeff

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Using Registry to save listbox contents.

    [Originally posted by Andon K.]

    Check the Help disks for SaveSetting and GetSetting entries. These function do exactly what you need.

    But, do you really need to keep listbox entries in the registry? In my opinion, it just clutters unnecesairily the already cluttered registry. There are other ways to persist data that is specific to an application. You could use .ini files or store your data in a database.

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Using Registry to save listbox contents.

    [Originally posted by allen]

    Check out http://www.vbwm.com/submissions/display.asp?id=33
    which allows you to save most input data (including list box settings) to a data file and to reload the settings when restarting your program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center