EDIT (thanks to the surfbutler comment in the comments on the question) If you want the file to be opened by the default application, I mean without specifying Acrobat or Reader, you cannot open the file on the specified page.
On the other hand, if you have Ok with Acrobat or Reader, keep reading:
You can do this without specifying the full Acrobat path, for example:
Process myProcess = new Process(); myProcess.StartInfo.FileName = "acroRd32.exe";
If you do not want the PDF file to be opened using Reader, but with Acrobat, run the second line as follows:
myProcess.StartInfo.FileName = "Acrobat.exe";
SECOND EDIT: Search for the default PDF extension application
You can query the registry to determine the default application to open PDF files, and then define the FileName in your StartInfo process accordingly. Again, thanks surfbutler for your comment :)
Follow this question for more information on this: Finding a default application to open a specific file type in Windows
daniloquio Jul 06 '12 at 16:25 2012-07-06 16:25
source share