Monday, June 15, 2009

Opening Up PDF from application.

I couldn't seem to get the User Documentation PDF to open straight away using the code;
System.Diagnostics.Process.Start(Application.StartupPath & "NameOfFile.pdf")

But once i changed the code to;
System.Diagnostics.Process.Start("NameofPDF")
It worked, and opened up as soon as the "Help" button was clicked.

No comments:

Post a Comment