|
NullPointerException getting with org.eclipse.swt.ole.win32.OleAutomation Object -
06-03-2008, 07:52 AM
Hi Everyone,
I'm considering switching to SWT OLE for my project but I am having troubles with my test application.
I think there is a some problem with the way ISISServer(Program id) is registered as active x Object
In particular, when I run these two statements :
controlSite = new OleControlSite(oleFrame, SWT.NONE, "ISISServer")
OleAutomation automation = = new OleAutomation(controlSite);
It is giving null pointer exception in the second statement.
I have done some Examples on the Activex Components (Word, Excel ,I Explorer) for these it is working fine and these components an embedded ActiveX Control within a container.
In case of PD F documents of Program id is "AcroExch.Document" it is giving null pointer exception.
At the same for both pd f documents our Active x Objects not embedded with in the container it opens differently from the container.
I need to solve this Exception. I need to know difference between Active x Components of Word, Excel ,I Explorer and the registered Active x Object s.
But This OLE Package should support registered Active x Object s.
|