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?
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.
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.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center