How to open a PDF file?

Posted by Alive on Stack Overflow See other posts from Stack Overflow or by Alive
Published on 2009-09-17T08:33:16Z Indexed on 2010/03/21 19:01 UTC
Read the original article Hit count: 134

Filed under:

I want to load a pdf file on the click of a button. In the OnClickButton() implementation I am writing the function which open the PDF file

ShellExecute(0,
             "Open",
             "%s\\HELP\\RiverCADPro_User_Manual.pdf",
             NULL,
             NULL,
             SW_MAXIMIZE);

The above code is not working.What else is to be needed so as to run the above code

© Stack Overflow or respective owner

Related posts about visual-c++