Article View: borland.public.delphi.nativeapi
Article #104Re: Problem with W2k, Adobe and shellexecute HELP
From: Gary Williams
Date: Fri, 23 Jan 2004 15:36
Date: Fri, 23 Jan 2004 15:36
16 lines
1502 bytes
1502 bytes
Michael W. Diebold wrote:
> 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.
This is a very common problem. Simply running the application outside of
the IDE solves it for most people.
-Gary
Technical Details
Message-ID:
<40113f6e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<401138fc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,94781e641400d757 X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-23 07:40:22 PST From: "Gary Williams" <2FC5DB7F@garywilliams.us> Newsgroups: borland.public.delphi.nativeapi References: <401138fc$1@newsgroups.borland.com> Subject: Re: Problem with W2k, Adobe and shellexecute HELP Date: Fri, 23 Jan 2004 09:36:33 -0600 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 64.211.107.4 Message-ID: <40113f6e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074872174 64.211.107.4 (23 Jan 2004 07:36:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail