Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Feb : ShellExecute question

www.cryer.info
Managed Newsgroup Archive

ShellExecute question

Subject:ShellExecute question
Posted by:
Date:Wed, 1 Feb 2006 14:48:57 -0800

Hi all ~

I print PDFs in one of my apps like this:

if ( ShellExecute( 0, 'print', PChar( wcbfdf), nil, nil, SW_SHOWDEFAULT ) < 33 )
then
   MessageDialog( 'Error opening file: ' + wcbfdf + #13 + '(Possible cause: ' +
PROBLEM, mtError )


This, however, brings up the installed Acrobat Reader over top of my app window.

Is there a way to make Reader NOT show up?

TIA,
Kai

Replies:

www.cryer.info
Managed Newsgroup Archive