I have a .pdf help file and would like to launch it from my C++/CLI application.
Currently I do the following:
System::Diagnostics::Process::Start("iexplore", "C:\\MyPdf.pdf");
…which works but has the irritating side effect of opening it in internet explorer. Is there a way to launch it in whatever the Windows currently uses to open .pdf files?
This will let the system decide which viewer to use..