Quantcast
Channel: Primavera Online Interaction » PM.exe
Viewing all articles
Browse latest Browse all 79

prim21189:How to launch an application from within the Integration API?

$
0
0
Solution ID: prim21189
How to launch an application from within the Integration API?
Status: Reviewed
Version(s): 4.0, 4.1, 5.0



Problem: How to launch project manager from within the Integration API?
Problem: Sample code to launch an executable via JAVA
Fix:   Runtime r = Runtime.getRuntime();
  Process p = null;
  try{
      p=r.exec(“C:\\Program Files\\Primavera\\Project Management\\PM.exe”);
  }
 
  catch(Exception exp)
  {
     System.out.println(exp.getStackTrace());  
  }

Viewing all articles
Browse latest Browse all 79

Trending Articles