<?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 JMP automation &amp;amp; missing registry key in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48105#M27393</link>
    <description>&lt;P&gt;I have a C# application that has some functions that run JMP automation. When the user starts the C# application, it checks to insure JMP is installed on the user’s system.&amp;nbsp; I had contacted JMP technical support on this issue on how to know if JMP is installed on a system.&amp;nbsp; The solution was to look for a registry key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In C# code, I have a bool to check if JMP is installed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bool jmpExists = Registry.ClassesRoot.OpenSubKey("TypeLib\\{DCD36DE0-78F8-11CF-9E68-0020AF24E9FE}\\1.0\\0\\win32", false) != null;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far at least 2 PC (windows 10 and JMP 13 installed), don’t have this registry key, while 10 PCs do have the registry key.&lt;/P&gt;&lt;P&gt;On one PC with missing registry key, I tried to run JMP automation (ignoring missing registry key) and it failed to start on this PC. Next, I uninstalled JMP 13 and then reinstalled JMP 13 and after which time the registry key was present and JMP automation worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is C# code to create an instance of JMP / automation&lt;/P&gt;&lt;P&gt;using System.Runtime.InteropServices;&lt;/P&gt;&lt;P&gt;JMP.Application myJMP = new JMP.Application();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But many of the users who may use my software have a lot of customization of JMP and the idea of uninstalling and reinstalling JMP is very undesirable! (Their JMP works just fine otherwise)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why this registry key is missing on some people’s computers? (windows 7 PC’s running JMP 13)&lt;/P&gt;&lt;P&gt;Any way of fixing this issue other than reinstalling JMP?&amp;nbsp; I am not sure if it is just a simple matter of coping the&amp;nbsp;registry key to the computers that don’t have it? &amp;nbsp;Not exactly sure how to copy and install a registry key, if that is the solution.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2017 13:16:53 GMT</pubDate>
    <dc:creator>ChrisM_X</dc:creator>
    <dc:date>2017-12-04T13:16:53Z</dc:date>
    <item>
      <title>JMP automation &amp; missing registry key</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48105#M27393</link>
      <description>&lt;P&gt;I have a C# application that has some functions that run JMP automation. When the user starts the C# application, it checks to insure JMP is installed on the user’s system.&amp;nbsp; I had contacted JMP technical support on this issue on how to know if JMP is installed on a system.&amp;nbsp; The solution was to look for a registry key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In C# code, I have a bool to check if JMP is installed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bool jmpExists = Registry.ClassesRoot.OpenSubKey("TypeLib\\{DCD36DE0-78F8-11CF-9E68-0020AF24E9FE}\\1.0\\0\\win32", false) != null;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far at least 2 PC (windows 10 and JMP 13 installed), don’t have this registry key, while 10 PCs do have the registry key.&lt;/P&gt;&lt;P&gt;On one PC with missing registry key, I tried to run JMP automation (ignoring missing registry key) and it failed to start on this PC. Next, I uninstalled JMP 13 and then reinstalled JMP 13 and after which time the registry key was present and JMP automation worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is C# code to create an instance of JMP / automation&lt;/P&gt;&lt;P&gt;using System.Runtime.InteropServices;&lt;/P&gt;&lt;P&gt;JMP.Application myJMP = new JMP.Application();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But many of the users who may use my software have a lot of customization of JMP and the idea of uninstalling and reinstalling JMP is very undesirable! (Their JMP works just fine otherwise)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why this registry key is missing on some people’s computers? (windows 7 PC’s running JMP 13)&lt;/P&gt;&lt;P&gt;Any way of fixing this issue other than reinstalling JMP?&amp;nbsp; I am not sure if it is just a simple matter of coping the&amp;nbsp;registry key to the computers that don’t have it? &amp;nbsp;Not exactly sure how to copy and install a registry key, if that is the solution.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:16:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48105#M27393</guid>
      <dc:creator>ChrisM_X</dc:creator>
      <dc:date>2017-12-04T13:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: JMP automation &amp; missing registry key</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48108#M27395</link>
      <description>&lt;P&gt;Resetting the file associations&amp;nbsp;&lt;EM&gt;should&lt;/EM&gt; reset that registry key.&lt;/P&gt;
&lt;P&gt;File &amp;gt; Preferences &amp;gt; Windows Specific&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 935px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8559i2A0812C1109E40FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;If that does not work for some reason, you&amp;nbsp;can create the registry key yourself in Regedit.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that your jmpExists variable actually means "is JMP installed AND can JMP be automated."&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:22:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48108#M27395</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2017-12-04T14:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: JMP automation &amp; missing registry key</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48109#M27396</link>
      <description>&lt;P&gt;Thank you, this worked!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:28:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48109#M27396</guid>
      <dc:creator>ChrisM_X</dc:creator>
      <dc:date>2017-12-04T14:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: JMP automation &amp; missing registry key</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48139#M27413</link>
      <description>&lt;P&gt;If 32-bit JMP is installed on a 64-bit version, they key may appear in the Wow hive.&amp;nbsp; So, the key in question would be located at:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{DCD36DE0-78F8-11CF-9E68-0020AF24E9FE}\1.0\0\win32&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian Corcoran&lt;/P&gt;
&lt;P&gt;JMP Development&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 21:39:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-automation-amp-missing-registry-key/m-p/48139#M27413</guid>
      <dc:creator>briancorcoran</dc:creator>
      <dc:date>2017-12-04T21:39:28Z</dc:date>
    </item>
  </channel>
</rss>

