Problem with W2k, Adobe and shellexecute HELP

From: Michael W. Diebold (mike_at_shsbc.com)
Date: 01/23/04


Date: Fri, 23 Jan 2004 10:06:13 -0500

Trying to open a .pdf file with shellexecute only brings up Adobe splash
screen then quits. Does anybody have a solution to this.

ShellExecute(Handle, PChar('open'), PChar(TheFileName),nil , nil,
sw_shownormal);

I created a .bat file that opens Adobe, and called that with Shellexecute,
and got the same result. I've also tried the third party componenet
AppExec, and that produced the same results as well.



Relevant Pages

  • Re: Problem with W2k, Adobe and shellexecute HELP
    ... > Trying to open a .pdf file with shellexecute only brings up Adobe splash ... > I created a .bat file that opens Adobe, and called that with Shellexecute, ...
    (borland.public.delphi.nativeapi)
  • Re: Search for File/Directory
    ... The only issue that I've found with .FollowHyperlink is that the OS opens it ... ShellExecute API, ... require exact path to the Acrobat Software. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Opening with Preview
    ... > I am currently using an iBook G4 and normally when I view a pdf file ... Here are some instructions for changing from Preview to Acrobat Reader ... Part way down the left side of that information box is an arrow next ... That section of the info box opens up to reveal a horizontal window ...
    (comp.sys.mac.apps)
  • Re: File with no link
    ... You do this in a .php file which as far as the user is concerned ... at the script I suggested. ... When User1 clicks on the link, it opens up ... So, if User1 knows about User2, he can see User2's pdf file. ...
    (comp.lang.php)
  • Re: How to Open Single Instance of Program
    ... put a /one switch in the windows file association for jpg/Irfanview then ... >> time it runs it opens a new instance of IrfanView. ... >> 'First try ShellExecute ...
    (microsoft.public.office.developer.vba)