<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get/Set settings Netloaded Dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3733524#M52069</link>
    <description>&lt;P&gt;I've created a DLL that can store and use some usersettings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;I want to call the settings from another dll.&lt;/P&gt;&lt;P&gt;I've added a property class to get and set the settings in the source dll.&lt;/P&gt;&lt;P&gt;But when I try to catch or set them trough module B it doesn't have an effect on the values in module A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say I've got 1 user setting as Boolean called AL_HATCH in Module A&lt;/P&gt;&lt;PRE&gt;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&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;In module B I referenced the DLL with the module above.&lt;/P&gt;&lt;P&gt;msgbox(ModuleA.Settings.Hatch)&lt;/P&gt;&lt;P&gt;Lets say its at the moment True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2012 13:11:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-12-12T13:11:15Z</dc:date>
    <item>
      <title>Get/Set settings Netloaded Dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3733524#M52069</link>
      <description>&lt;P&gt;I've created a DLL that can store and use some usersettings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;I want to call the settings from another dll.&lt;/P&gt;&lt;P&gt;I've added a property class to get and set the settings in the source dll.&lt;/P&gt;&lt;P&gt;But when I try to catch or set them trough module B it doesn't have an effect on the values in module A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say I've got 1 user setting as Boolean called AL_HATCH in Module A&lt;/P&gt;&lt;PRE&gt;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&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;In module B I referenced the DLL with the module above.&lt;/P&gt;&lt;P&gt;msgbox(ModuleA.Settings.Hatch)&lt;/P&gt;&lt;P&gt;Lets say its at the moment True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 13:11:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3733524#M52069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-12T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get/Set settings Netloaded Dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3738645#M52070</link>
      <description>&lt;P&gt;Can you post as working sample project so we can understand a little more about how things are setup please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2012 22:10:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3738645#M52070</guid>
      <dc:creator>fenton_webb</dc:creator>
      <dc:date>2012-12-17T22:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get/Set settings Netloaded Dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3738907#M52071</link>
      <description>&lt;P&gt;I'll try to explain... (I'm on vacation right now, I'll be back at the office after the hollidays).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a module that has some user settings (My.settings.BIBpath, My.settings.AWNpfx,...)&lt;/P&gt;&lt;P&gt;At the moment these are configured trough windows included in the dll.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I'm trying to make a user control that merges in the Autocad Options dialogue.&lt;/P&gt;&lt;P&gt;So far no problem to create that one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here I want to collect my settings from Multiple dll files so the users can access all their options trough the options dialogue from the CAD application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I need to get/set the settings from the user control in the required dll. (I'll post a project when I'm back in the office in January)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 12:40:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/get-set-settings-netloaded-dll/m-p/3738907#M52071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-18T12:40:09Z</dc:date>
    </item>
  </channel>
</rss>

