Community
Participate
Working Groups
When we try to launch passport via OLE automation, we are getting below error. Failed to create Ole Client. result = -2147467262 at org.eclipse.swt.ole.win32.OLE.error(Unknown Source) Source code:- public static void main(String[] args) { // //TODO Launch IE to passport URL // Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Word Example"); shell.setLayout(new FillLayout()); 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; }