VB.NET 2005 My.Settings WebProxy / ArrayList Objects

G

Guest

I am trying to save a WebProxy object within the My.Settings user setting
with a type of WebProxy. Its seems that the setting is not persisting when
the application is restarted even when the My.Settings.Save() is called.

Is there any special way to save this object within the My.Settings? I
understand I could just re-create the object using the address and
credentials when the settings are loaded.

Also, we have tried saving an ArrayList stored full of custom objects and
the same issue occurs. However an ArrayList full of Integer objects is
stored fine? Can someone please help me here? We would like the Array of
custom objects stored within a single My.Settings property.

I have searched the documentation regarding the My.Settings user settings
and could not locate any info on the limitations etc? Any code would be
great. Thanks.
 

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