0

I was just wondering for future information if you add a message to a combo box such as this:

ComboBox1.Items.Add(ComboBox1.Text)

is it possible to save it in the combo box so that if the form is closed then re-loaded that message will still be stored? Thanks

2
Contributors
2
Replies
4
Views
8 Years
Discussion Span
Last Post by vbnewbie5
0

Yes, but you need to determine a storage location. If it should apply to all users of an application across the network -- then you should store it in a database. If it applies to an application across the entire machine you should save it in the Machine level configuration section, or HKLM in the registry. Likewise for the logged in user it is either the user section or HKCU in the registry

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.