I have a winfrom GUI that has a \'help\' context menu. When clicked, I would like to open the user manual for the application. The manual is a pdf which is stored within the
string locationToSavePdf = Path.Combine(Path.GetTempPath(), "file name for your pdf file.pdf"); // select other location if you want
File.WriteAllBytes(locationToSavePdf,Properties.Resources.nameOfFile); // write the file from the resources to the location you want
Process.Start(locationToSavePdf); // run the file
Try this (you need just a path to the PDF file, no need to add it to the resource):
using System.Diagnostics;
Process.Start(“Path_of_PDFFile”)
Add using System.Diagnostics; to your using, and then call:
Process.Start("path to pdf")
You won't need to find the PDF Reader exe or anything. Just call the path of the file you want.