Open a .pdf file from C++ Win32 Console Application

  • Context: C/C++ 
  • Thread starter Thread starter CFDFEAGURU
  • Start date Start date
  • Tags Tags
    Application C++ File
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 9K views
CFDFEAGURU
Messages
781
Reaction score
10
Hello all,

Does anyone know how to open a .pdf file (or a .exe) file from a Visual C++ 2008 express edition program?

What I am trying to do is to have the user enter a number that corresponds to a certain .pdf file and have that .pdf file open for the user to read,save,print, etc ...

Thanks
Matt
 
Physics news on Phys.org
Never mind all,

I received some help from outside the forum and all is well.

Thanks
Matt
 
Matt,

Can you please send me the code that you used or the links of the sites from where you received help, because I'm also trying to do the same but so far have only been successful in searching - that too from the most basic method (the one where you input all files in a .txt file use a string to match and then let the user know whether the file exists or not)

Any help will be really appreciated.

Waiting for your reply

Regards

Zain