Login        
 
   
Nederlands English
 






Open .pdf outside the application

Sometimes you need to open a .pdf-file externally from the .NET Application that you are executing. System.Diagnostics namespace has a process class to do this in a simple way assuming that you have a default reader (ex: Acrobat Reader) for pdf-files.  

 
CodePrint
'Visual Basic
Imports System.Diagnostics
Process.Start("Path_OF_PDFFile")

'C#
using System.Diagnostics;
Process.Start("Path_of_PDFFile")


  HTML 4.01 Code
  ASCII Code
 
 

Links
 

  © Sappy.nl by Frank van Rooijen
   
website statistics