StartInfo no trabaja

Rafael Rueda <[email protected]>
Newsgroups gmane.comp.gnome.mono.hispano
Message-ID <1247867889.9207.17.camel@localhost>
Hola amigos necesito su ayuda:

Genero con monodevelop un reporte realizado con reportman. El sistema
debe trabajar en Linux y Windows. Venía trabajando bién en Linux y
Windows pero con las ultimas versiones de C# ya no trabaja en Windows.
Alguién podría darme una mano?.

Este es el código sobre un archivo de reporte ya generado: "ConOces.rep.
	
	using System.Diagnostics;
	...

	Process p = new Process();
        try
        {
		//Para Linux trabaja perfecto
		p.StartInfo.FileName = "/syanet/net/printreport.exe ";
		p.StartInfo.Arguments = @"-preview ConOces.rep";	
		p.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
		p.Start();
	}
	catch
	{
		//para Windows: Printreport.exe ha detectado un problema y debe
cerrarse.
		p.StartInfo.FileName = @"\syanet\net\printreport.exe ";
		p.StartInfo.Arguments = @"-preview ConOces.rep";
 		p.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
		p.Start();
	}
	p.WaitForExit();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.