Hi All,
I have been trying to embed an OpenOffice 3.0.1 document in an SWT
Frame using the org.eclipse.swt.ole.win32 packages. I consistently get
the error "Failed to create Ole Client. result = -2147024770" when
trying either of the following:
controlSite = new OleControlSite(oleFrame, SWT.NONE,
"soffice.StarWriterDocument.6");
clientSite = new OleClientSite(oleFrame, SWT.None, new File("C:/test.odt"));
I have also tried to use the plugin from http://www.comeclipse.com/ to
create a wrapper for so_activex.dll but there I get the following
error: "Failed to create Ole Client. result = -2147467262"
So I'm wondering, is there a definitive way of embedding OpenOffice
3.0.1 in an swt.frame using activex / ole ?
I would greatly appreciate any help, thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]