The most easy way to open a file with the default application is:
System.Diagnostics.Process.Start(@"c:\myPDF.pdf");
However, I would like to know if exists a way to set parameters to the default application, because I would like to open a pdf in a determinate page number.
I know how to do it creating a new process and setting the parameters, but this way I need to indicate the path of the application, and I would like to have a portable application and not to have to set the path of the application each time I use the application in other computer. My idea is that I expect that the computer has installed the pdf reader and only say what to page open.
Thanks.
myProcess.StartInfo.FileName = "Acrobat.exe";
without giving the full path to the application? – daniloquio