Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shellexecute and File save

Status
Not open for further replies.

delphitask

Programmer
Oct 10, 2009
3
GB
Hi ! Is there a way of knowing when a file opened using Shellexecute has been saved by user. I need this so that an attachment file of a mapi message that is edited by user(opened for editing from Delphi form by shellexecute) can be saved in the message- when the user edits and saves his changes.
 
Set up a wait state on the process that is created in shellexecute (there are a number of ways to do this) so your logic will wait until the program you call is complete. As for other things, you'll have to figure that out based on what the app does to the file, since you can't control what another app does.

I'm waiting for the white paper entitled "Finding Employment in the Era of Occupational Irrelevancy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top