<?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 access to Windows Registry keys in PowerShape and PowerMill API Forum</title>
    <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11485484#M396</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am in the midst of refactoring an old vb6 app to VB.net in VS2022.&amp;nbsp; (Win11)&lt;/P&gt;&lt;P&gt;With VB6 and PM2012 I had access to all registry keys under /localmachine/Delcam/, and also to /localmachine/Delcam/Powermill&lt;/P&gt;&lt;P&gt;using :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim PowerMILL As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Autodesk")&lt;BR /&gt;Dim List_PM As String() = PowerMILL.GetSubKeyNames&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, with vb.net most of the keys are invisible to&amp;nbsp;PowerMILL As RegistryKey&amp;nbsp; and&lt;/P&gt;&lt;P&gt;Dim PowerMILL As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Autodesk\Powermill")&lt;BR /&gt;Dim List_PM As String() = PowerMILL.GetSubKeyNames&lt;/P&gt;&lt;P&gt;creates an exception at the second line because&amp;nbsp;SOFTWARE\Autodesk\Powermill is not accessible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I do wrong here ?&lt;/P&gt;</description>
    <pubDate>Sun, 16 Oct 2022 01:28:03 GMT</pubDate>
    <dc:creator>l.ponsaerts</dc:creator>
    <dc:date>2022-10-16T01:28:03Z</dc:date>
    <item>
      <title>access to Windows Registry keys</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11485484#M396</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am in the midst of refactoring an old vb6 app to VB.net in VS2022.&amp;nbsp; (Win11)&lt;/P&gt;&lt;P&gt;With VB6 and PM2012 I had access to all registry keys under /localmachine/Delcam/, and also to /localmachine/Delcam/Powermill&lt;/P&gt;&lt;P&gt;using :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim PowerMILL As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Autodesk")&lt;BR /&gt;Dim List_PM As String() = PowerMILL.GetSubKeyNames&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, with vb.net most of the keys are invisible to&amp;nbsp;PowerMILL As RegistryKey&amp;nbsp; and&lt;/P&gt;&lt;P&gt;Dim PowerMILL As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Autodesk\Powermill")&lt;BR /&gt;Dim List_PM As String() = PowerMILL.GetSubKeyNames&lt;/P&gt;&lt;P&gt;creates an exception at the second line because&amp;nbsp;SOFTWARE\Autodesk\Powermill is not accessible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I do wrong here ?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2022 01:28:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11485484#M396</guid>
      <dc:creator>l.ponsaerts</dc:creator>
      <dc:date>2022-10-16T01:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: access to Windows Registry keys</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11489177#M397</link>
      <description>&lt;P&gt;herby the test code&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 23:58:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11489177#M397</guid>
      <dc:creator>l.ponsaerts</dc:creator>
      <dc:date>2022-10-17T23:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: access to Windows Registry keys</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11489711#M398</link>
      <description>&lt;P&gt;found&amp;nbsp; a solution. The openkey(path) only shows 32 bit software keys.&lt;/P&gt;&lt;P&gt;In order to get to the 64 bit ones :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PowerMILL = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64).OpenSubKey("SOFTWARE\Autodesk\Powermill")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List_PM = PowerMILL.GetSubKeyNames&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 07:33:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11489711#M398</guid>
      <dc:creator>l.ponsaerts</dc:creator>
      <dc:date>2022-10-18T07:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: access to Windows Registry keys</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11489829#M399</link>
      <description>&lt;P&gt;The alternative is to target your solution to x64. I would suggest you want to do this as standard these days anyway, especially if you want to interact with the products.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 08:33:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11489829#M399</guid>
      <dc:creator>luke.edwards.autodesk</dc:creator>
      <dc:date>2022-10-18T08:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: access to Windows Registry keys</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11490971#M400</link>
      <description>&lt;P&gt;Luke, didn't know that. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:08:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/access-to-windows-registry-keys/m-p/11490971#M400</guid>
      <dc:creator>l.ponsaerts</dc:creator>
      <dc:date>2022-10-18T15:08:47Z</dc:date>
    </item>
  </channel>
</rss>

