Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Apr : ShellExecute... How to close after calling

www.cryer.info
Managed Newsgroup Archive

ShellExecute... How to close after calling

Subject:ShellExecute... How to close after calling
Posted by:"mike" (mike..@bigpond.net.au)
Date:Mon, 17 Apr 2006 10:35:17 +1000

Hi,

I hope this is the correct forum for this question.

I am calling Acrobat from my Application using :
ShellExecute(Handle,'open',PCHar(od1.FileName),nil,nil,sw_Showminimized);
Where OD1 is an instance of TOpenDialog.

The User then has the option to save the document to a firebird table
with a tBlob field..... mydocfield.savetofile(Od1.Filename).

This works well providing Acrobat is closed before the call to savetofile.

Any way for the application to close the Acrobat document shown by
sellExecute before the call to savetofile ?

Thanks for any advice.

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive