Hi this is a little tricky to explain. What I want is a series of labels to be saved ( these labels make up 1 group)
But, to make it a little more complex, I want the user to be able to save more than one group.
These groups need to be saved in such a way that I can later call on a specific group.
2 things
first, is that you want to save the label text
second you want to save the groups to where , i mean in to a database ?
how to differentiate the groups from one another ? is these are lies with in a group box ?
Yes I want to save the label text.
I want to save the groups within the application (like using my.settings)
as for differentiating the groups, I am not sure how I would do this. hence the question
One of the Settings types is a String Collection. Use one for each group.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
The problem here is I need to save multiple times, I have no idea how many times in total, the user makes this choice by just saving whatever they like whenever they like. How would I do this?
Ok, I just finished having a look at what you have suggested, seems like a good way to go. so saving the groups is pretty straight forward, the obvious point here is, for each group would I need a new file? or even benefit from it?
So you're happy to save a complete XML file every time there's a change, and even multiple files multiple times, but not Settings which meet your original brief of being self-contained?
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
So you're happy to save a complete XML file every time there's a change, and even multiple files multiple times, but not Settings which meet your original brief of being self-contained?
Public Shared Sub Main()
Dim mycol As New StringCollection()
Dim base() As String = {My.Settings.calc1, My.Settings.calc2, My.Settings.calc3, My.Settings.calc4, My.Settings.calc5, My.Settings.calc6, My.Settings.calc7, My.Settings.calc8}
mycol.AddRange(base)
End Sub