Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Passport via OLE automation(Not able to launch Passport via OLE automation)
Passport via OLE automation [message #1770029] Mon, 07 August 2017 15:38 Go to next message
Kripal Thakur is currently offline Kripal ThakurFriend
Messages: 2
Registered: August 2017
Junior Member
This is my code:-

try {
frame = new OleFrame(shell, SWT.NONE);
clientSite = new OleClientSite(frame, SWT.NONE,
"Passport.system");
clientSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE);
addFileMenu(frame);
} catch (SWTError e) {
System.out.println("Unable to open activeX control.....");
display.dispose();
return;
}
--------------------------------------------------end of code ---------------------------------
I am getting below error :-

Exception in thread "main" org.eclipse.swt.SWTException: Failed to create Ole Client. result = -2147221164
at org.eclipse.swt.ole.win32.OLE.error(Unknown Source)
at org.eclipse.swt.ole.win32.OleClientSite.<init>(Unknown Source)

Can someone help me to fix it?
Re: Passport via OLE automation [message #1770354 is a reply to message #1770029] Thu, 10 August 2017 10:13 Go to previous message
Dario Ferrante is currently offline Dario FerranteFriend
Messages: 1
Registered: August 2017
Junior Member
I have the same problem.
Please help.
Previous Topic:Installing JGit on RedHat
Next Topic: Scrolled composite Issues while migrating to Neon 2 in ubuntu
Goto Forum:
  


Current Time: Tue Feb 18 18:22:22 GMT 2020

Powered by FUDForum. Page generated in 0.03212 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top