Link to home
Start Free TrialLog in
Avatar of rampage09
rampage09

asked on

calling an adobe pdf file from code

I would like to click a button on my dialog box which will display a help file in pdf format.  So, essientially I would like my button to work like a link to a pdf file on a web page, and have the acrobat reader pop-up and display the pdf file.  I know it sounds simple but...

Thanks
ASKER CERTIFIED SOLUTION
Avatar of nietod
nietod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nietod
nietod

An example might be

ShellExecute(DlgHnd,NULL,"C:\\SOMEPATH\\SOMEFILE.PDF",NULL,"C:\\SOMEPATH",0);

where DlgHnd is the handle to your dialog window.
Avatar of rampage09

ASKER

Thanks!  Thats just what I needed.
nietod: I hope you get residual points every time somebody reads your answer!
Regretabley no.  Its been discussed, but was not choosen for implimentation.