Hi everyone,
I was trying to embed EA to a plugin as an OLE object.
I use this code to do so:
OleControlSite clientSite = new OleControlSite(frame, SWT.NONE, "EA.Project");
But no matter what I tried, especially for ProgramID part(right now "EA.Project") I could not get any graphical EA in my plugin. when I put "Word.document" or "Excel.Sheet" instead of "EA.Project" I see MS word or MS Excel application appears in my plugin, but not for EA. I found ProgramID of EA in regedit, I guess that was right but I could not be sure either if it was.
my whole code is this:
Display display = new Display ();
Shell shell = new Shell (display);
OleFrame frame = new OleFrame(shell, SWT.NONE);
frame.setBounds(0, 0, 400, 400);
OleControlSite clientSite = new OleControlSite(frame, SWT.NONE, "EABL.Model");
shell.setSize (400, 400);
shell.open ();
Does anybody worked with OLE integration before?
I greatly appreciate any help or comment.
Thank you,
Sincerely,
Murat.