| View previous topic :: View next topic |
| Author |
Message |
Ed Guest
|
Posted: Fri Apr 20, 2007 8:12 am Post subject: Word and Adobe Reader : FAQ |
|
|
Does anybody have a code snippet I could use to activate Word (with
"Help.doc") and Adobe Reader (with "Help.pdf") within a Delphi 2005 Win32
application.
Ed |
|
| Back to top |
|
 |
Marc Rohloff [TeamB] Guest
|
Posted: Sat Apr 21, 2007 4:24 am Post subject: Re: Word and Adobe Reader : FAQ |
|
|
On Fri, 20 Apr 2007 14:49:32 +1000, Ed wrote:
| Quote: | Does anybody have a code snippet I could use to activate Word (with
"Help.doc") and Adobe Reader (with "Help.pdf") within a Delphi 2005 Win32
application.
|
The simplest is to just call
shellexecute(..., pchar('help.pdf'), ...)
--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com |
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Sat Apr 21, 2007 3:42 pm Post subject: Re: Word and Adobe Reader : FAQ |
|
|
Use the TOLEContainer component and open your file using
CreateObjectFromFile method
--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik (AT) scalabium (DOT) com
"Ed" <EdwinGrimshaw (AT) bigpond (DOT) com> wrote in message
news:4628466e$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Does anybody have a code snippet I could use to activate Word (with
"Help.doc") and Adobe Reader (with "Help.pdf") within a Delphi 2005 Win32
application.
Ed
|
|
|
| Back to top |
|
 |
|