Open PDF Resource

Tom Newman

Member
Joined
Jan 31, 2008
Messages
6
Location
Surrey, United Kingdom
Programming Experience
Beginner
Hi There

I aim to attach a PDF manual with the piece of software I am developing. Correct me if I am taking the wrong approach, but I believe that I should attach it as a resource within the application. My issue lies with opening the PDF - I am unsure as to what the relevant code should be. Any help would be appreciated.

Thanks
Tom
 
I don't think the applications used to display the PDF document can use it from your resource, so my suggestion if to add it as a file (Add existing item) to your project and set Copy to output and Build action Content. You can then direct the viewer to open the file from application path.
(if you're using setup project you add the file there to Application folder)
 
Back
Top