public MSExcel(String address,String[] args) throws JIException, UnknownHostException { session = JISession.createSession(args[1],args[2],args[3]); comServer = new JIComServer(JIProgId.valueOf("Excel.Application"),address,session); }
/** * Factory method returning an instance of this class. * * @param progId * user-friendly string representation such as * "Excel.Application" * @return */ public static JIProgId valueOf ( final String progId ) { return new JIProgId ( progId ); }
address = InetAddress.getByName(address).getHostAddress(); progId.setSession(session); progId.setServer(address); address = "ncacn_ip_tcp:"+address+"[135]"; JIClsid clsid = progId.getCorrespondingCLSID(); initialise(clsid,address,session);
/** Returns the <code>CLSID</code> for this <code>ProgId</code>. * * @return * @throws JIException */ public JIClsid getCorrespondingCLSID() throws JIException { if (clsid == null) { getIdFromWinReg(); } return clsid; }
/** Returns the <code>CLSID</code> for this <code>ProgId</code>. * * @return * @throws JIException */ public JIClsid getCorrespondingCLSID() throws JIException { if (clsid == null) { getIdFromWinReg(); } return clsid; }
public MSPowerPoint2(String address, String[] args) throws JIException, UnknownHostException { JISession session = JISession.createSession(args[1],args[2],args[3]); comStub = new JIComServer(JIProgId.valueOf("PowerPoint.Application"),address,session); }
address = InetAddress.getByName(address).getHostAddress(); progId.setSession(session); progId.setServer(address); address = "ncacn_ip_tcp:"+address+"[135]"; JIClsid clsid = progId.getCorrespondingCLSID(); initialise(clsid,address,session);
/** Factory method returning an instance of this class. * * @param progId user-friendly string representation such as "Excel.Application" * @return */ public static JIProgId valueOf(String progId) { return new JIProgId(progId); }
/** * Returns the <code>CLSID</code> for this <code>ProgId</code>. * * @return * @throws JIException */ public JIClsid getCorrespondingCLSID () throws JIException { if ( this.clsid == null ) { getIdFromWinReg (); } return this.clsid; }
public MSADO(String address, String[] args) throws JIException, UnknownHostException { session = JISession.createSession(args[1],args[2],args[3]); comServer = new JIComServer(JIProgId.valueOf("ADODB.Connection"),address,session); }
address = InetAddress.getByName ( address ).getHostAddress (); progId.setSession ( session ); progId.setServer ( address ); address = "ncacn_ip_tcp:" + address + "[135]"; final JIClsid clsid = progId.getCorrespondingCLSID (); initialise ( clsid, address, session );
/** Factory method returning an instance of this class. * * @param progId user-friendly string representation such as "Excel.Application" * @return */ public static JIProgId valueOf(String progId) { return new JIProgId(progId); }
public MSTypeLibraryBrowser(String address, String args[]) throws JIException, UnknownHostException { JISession session = JISession.createSession(args[1],args[2],args[3]); comServer = new JIComServer(JIProgId.valueOf("InternetExplorer.Application"),address,session); }
public MSWord2 ( final String address, final String[] args ) throws JIException, UnknownHostException { final JISession session = JISession.createSession ( args[1], args[2], args[3] ); this.comStub = new JIComServer ( JIProgId.valueOf ( "Word.Application" ), address, session ); }
public MetrikonOPC(String address, String[] args) throws JIException, UnknownHostException { JISession session = JISession.createSession(args[1],args[2],args[3]); comStub = new JIComServer(JIProgId.valueOf("Matrikon.OPC.Simulation"),address,session); }
public MSExcel(String address,String[] args) throws JIException, UnknownHostException { session = JISession.createSession(args[1],args[2],args[3]); comServer = new JIComServer(JIProgId.valueOf("Excel.Application"),address,session); }
public MetrikonOPC ( final String address, final String[] args ) throws JIException, UnknownHostException { final JISession session = JISession.createSession ( args[1], args[2], args[3] ); this.comStub = new JIComServer ( JIProgId.valueOf ( "Matrikon.OPC.Simulation" ), address, session ); }
MSOutLookExpressContacts(String args[]) throws UnknownHostException, JIException { session = JISession.createSession(args[1],args[2],args[3]); comServer = new JIComServer(JIProgId.valueOf("Outlook.Application"),args[0],session); }
public MSPowerPoint2(String address, String[] args) throws JIException, UnknownHostException { JISession session = JISession.createSession(args[1],args[2],args[3]); comStub = new JIComServer(JIProgId.valueOf("PowerPoint.Application"),address,session); }
public MSPowerPoint2 ( final String address, final String[] args ) throws JIException, UnknownHostException { final JISession session = JISession.createSession ( args[1], args[2], args[3] ); this.comStub = new JIComServer ( JIProgId.valueOf ( "PowerPoint.Application" ), address, session ); }