DZone ForumsDZone Forums  

Go Back   DZone Forums > Community > The DZone Network > Zones
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
LinkBack Thread Tools Display Modes

Topic: NullPointerException getting with org.eclipse.swt.ole.win32.OleAutomation Object
Old 06-03-2008, 06:52 AM   #1 (permalink)
Member
 
Join Date: Jun 2008
Posts: 1
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.
gnaru is offline   Reply /w Quote -


Thread Tools
Display Modes



All times are GMT -5. The time now is 07:39 PM.