I am working on a Windows Form project for my work. Essentially it'll be an interactive catalog for my customers, where they can click on different vendors that our company represents, to see information about that vendor.
Upon clicking a vendor, they have an option to and click on and view that vendor's various catalogs, which are represented in a ListView. I have all the code in place to make this work. Essentially I am loading the PDFs as resources, setting their "Copy to output" as "copy always", then loading the PDF (with the user's default PDF viewer) with process.start.
Process.Start("Resources\Round Slings.pdf")
My question being, is there a different way to launch a PDF with the user's default PDF viewer, without having to include the file as a resource, and "copy always" ? My reason for asking is that I literally have a hundred different PDFs to include in this project, and the .exe size of the program is getting pretty out of control (350 Mb so far). As a test I included a few huge PDFs to see how far I could push this, and eventually got an "out of memory" error around 600 Mb. I'm sure the way I did this isn't the most efficient, just curious if there is a different way to attack it.
Please let me know if I wasn't clear about anything, I wasn't sure quite how to word this question.