cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
toby_roche0
Level I

Automating JMP with c# and visual studio.

I'm trying to run an instance of jmp from a c# program but i'm having trouble adding the reference to Visual studio.

The reference is not included in the drop down menu as described in the documentation, and I am unable to add JMP.TLB manually.

Visual studio tells me that the reference is either not accessible or it is an invalid assemble or com component.

Has anyone else come across this issue?

12 REPLIES 12
ChrisM_X
Level III

Re: Automating JMP with c# and visual studio.

I know what the problem is.  If you installed a new version of JMP (example JMP 14) then next uninstalled an old version of JMP (example JMP 13) the Windows registry key for JMP automation gets deleted.  To reset the registry key in JMP go to:

 

File, Preferences,  Windows Specific, the click the button that says Reset Associations.

 

 

Go back to Visual Studio and rebuild your solutions, and you are now in business!

 

ChrisM_X
Level III

Re: Automating JMP with c# and visual studio.

Benkins
Level II

Re: Automating JMP with c# and visual studio.

@ChrisM_X thanks!  That solved it!!