Reply

open a file in revision manager

Helo all

 

i try to open a file in revisionmanager app

 

here is the code

 

System.Diagnostics.Process proc = new System.Diagnostics.Process();

proc.EnableRaisingEvents = false;

proc.StartInfo.FileName = "iCnct";

proc.StartInfo.Arguments = @"C:\\part1.par";

proc.Start();

 

 

but it doesnt work, send me next messagebox inside RevisionManager:

 

No active pcf document available. Open support CAD document, before adding any un-supported Non-CAD document links into the pcf

 

can anyone help me please..

 

Posted by: Diego Armando
Post date: 11/30/2012 6:04:05 PM

2 REPLIES

open a file in revision manager

try with "/r " for arguments like:

 

proc.StartInfo.Arguments = @"/r C:\\part1.par";

 

Posted by: JR
Post date: 12/3/2012 12:21:35 AM

open a file in revision manager

it works and this is the code if someone needs to open a file

 

System.Diagnostics.Process proc = new System.Diagnostics.Process();

proc.StartInfo.FileName = "iCnct";

[i]//Use double quotes inside the quotes to force it to be evaluated...[/i]

proc.StartInfo.Arguments = @"""C:\Documents and Settings\user\Desk\part1.par"" [b]/r[/b]";

proc.Start();

 

 

thanks alot!

 

Posted by: Diego Armando
Post date: 12/4/2012 10:15:24 AM