Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open PDF file from my program. How ?

Status
Not open for further replies.

mirodel

Technical User
Aug 4, 2002
7
BG
Hi,

I need a solution to these: when I click on a button on my form a PDF file should open. How could I do that ?
10x !!!
 
I forgot to tell you that I've tried to use ShellExecute but it didn't open the file :

ShellExecute(0,nil,'C:\x.pdf',nil,'',sw_show);
 
ShellExecute(nil,PChar('Open'),'C:\x.pdf',nil,'',sw_show);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top