🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #103

Problem with W2k, Adobe and shellexecute HELP

#103
From: Michael W. Diebold
Date: Fri, 23 Jan 2004 15:06
9 lines
1287 bytes
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.
Technical Details
Message-ID: <401138fc$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-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,94781e641400d757,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-23 07:10:08 PST
From: "Michael W. Diebold" <mike@shsbc.com>
Newsgroups: borland.public.delphi.nativeapi
Subject: Problem with W2k, Adobe and shellexecute HELP
Date: Fri, 23 Jan 2004 10:06:13 -0500
Lines: 12
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: 65.217.105.139
Message-ID: <401138fc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074870524 65.217.105.139 (23 Jan 2004 07:08:44 -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