Hi all.
I'm developing a small VB forms application that takes advantage of application settings for persistent data storage and have run into an a problem.
I have three settings that store user-scope values: two strings and an imported Microsoft.VisualBasic.Collection. The strings store user login data and work properly; they're saved automatically for use after the application has closed and is restarted. The collection, however, does not continue to retain its data after a restart of the application. What I'm trying to do is store a number of objects, each with three string values, in this collection.
I have tried using My.settings.save() but that doesn't seem to resolve the issue.
Is there an obvious reason for this? I'd be willing to try alternatives, if the Microsoft.VisualBasic.Collection doesn't support saving to an application setting.
Thanks,
David.
I'm developing a small VB forms application that takes advantage of application settings for persistent data storage and have run into an a problem.
I have three settings that store user-scope values: two strings and an imported Microsoft.VisualBasic.Collection. The strings store user login data and work properly; they're saved automatically for use after the application has closed and is restarted. The collection, however, does not continue to retain its data after a restart of the application. What I'm trying to do is store a number of objects, each with three string values, in this collection.
I have tried using My.settings.save() but that doesn't seem to resolve the issue.
Is there an obvious reason for this? I'd be willing to try alternatives, if the Microsoft.VisualBasic.Collection doesn't support saving to an application setting.
Thanks,
David.