Hi Toby,
Much of the C# documentation is old, and references an older Visual Studio in the hope that it will reach as many people and as many different versions as possible. I tried adding a reference to Visual Studio 2013 in a C# project, and was successful. In general, you would do "Project->Add Reference..." and do a COM reference. However, VS 2013 seems to be malfunctioning there. Instead, I would bring up the Solution Explorer (attached image Step 1) and right click on "References" and do "Add Reference...". Now, rather than say Assemblies or COM, select Browse. Browse to the JMP.TLB file in c:\program files\sas\jmp\13 (directory may be different for 32-bit build or JMP Pro) and select the file. The reference should be added. I build a simple Windows Forms test case with this reference and JMP came up. The code I used was:
public partial class Form1 : Form
{
JMP.Application myJMP;
{
public Form1()
}
private void Form1_Load(object sender, EventArgs e)
{
myJMP = new JMP.Application();
myJMP.Visible = true;
}
I hope this helps.
Brian Corcoran
JMP Developmen
Step 1
Step 2