I'm saving data as a .pdf with a program.
However, I can't figure out how to open the .pdf I have just saved, to show it to the user.
I'm saving data as a .pdf with a program.
However, I can't figure out how to open the .pdf I have just saved, to show it to the user.
Since you specify a WinForm application. Here a simple way that assumes Acrobar Reader (or other PDF reader) are instaled on the client machine running your app.
Use the 'System.Diagnostics.Process' class to start the PDF reader. You need only pass the path to your PDF resource. ex:
Process.Start("filename.pdf");
There are other approaches discussed here: