Message 1 of 3
Get/Set settings Netloaded Dll

Not applicable
12-12-2012
05:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've created a DLL that can store and use some usersettings.
Now I want to call the settings from another dll.
I've added a property class to get and set the settings in the source dll.
But when I try to catch or set them trough module B it doesn't have an effect on the values in module A
Lets say I've got 1 user setting as Boolean called AL_HATCH in Module A
Public Class Settings Public Shared Property Hatch As Boolean Get Return My.Settings.AL_HATCH End Get Set(ByVal value As Boolean) My.Settings.AL_HATCH = value My.Settings.Save() End Set End Property End Class
In module B I referenced the DLL with the module above.
msgbox(ModuleA.Settings.Hatch)
Lets say its at the moment True
When I change the value with module A and call it back with module B it is still True when it needs to be False.??
Regards
Peter