Saving Checkboxlist settings in VB 2005 for Each user.

M

mattfracassa

VB 2005, .net 2.0

Is there an easy way to save the items checked in a CheckedListBox for
each user (so that everytime the user opens the app, it remembers and
displays what was checked.)

I know I can make a collection in user settings, and save/retreive
items by looping through the indices. But, can I just somehow save and
retreive the whole CheckedListBox collection to the
my.settings.chkBoxItems collection I defined in my App Settings?
 
D

DKode

I would probably accomplish this through a registry setting if the
checked items changes often. If it is static and your're always going
to have the same items checked, either set the .Checked = true option
for the checkboxes, or set it in the app config file.
 
M

mattfracassa

Let me re-phrase the question: Is there a good trick or easy way to
save and retreive a Collection to the user config file (my.settings)


I have already defined the collection in the app settings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top