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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening .pdf or word documents

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hello,
Does anyone know how I can open a pdf and word document with borland c++ 5 builder?

Thanks
 
Howdy,

I am not sure, as I have never tried it, but you could try to import the Adobe PDF ActiveX control into a project to view pdf's.

It may not work like you want, but it is an idea...

Good luck~

No! Try not. Do, or do not. There is no try. - Yoda
 
Wings,
[tab]Do want to open the .pdf or .doc in a program with the linked app, i.e., you program calls Word to open .doc and Reader to open .pdf?



James P. Cottingham

There's no place like 127.0.0.1.
There's no place like 127.0.0.1.
 
2ffat,
Yes that is exactly what I want.
If it is a word document, I want to open word and the document, the same for the pdf file.
Thanks
 
Look at faq101-1952 (ShellExecute), faq101-1953 (ShellExecuteX), and faq101-1954 (CreateProcess).

James P. Cottingham

There's no place like 127.0.0.1.
There's no place like 127.0.0.1.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top