Wednesday, December 14, 2011

Opening a PDF File.

    string path = Environment.CurrentDirectory + "\\" + UserMessageStrings.HelpFile;
     Process.Start(path);

1 comment:

  1. Before I learned of this useful tip I was stuck opening Adobe Reader every time I was sent a pdf via email. Now I simply download the pdf, upload it to my webserver. I then open IE 7 and click a link to the pdf and it opens automatically.

    ReplyDelete