Word - saving file name in Delphi

Giganews Newsgroups
Subject:Word - saving file name in Delphi
Posted by: Terry Black
Date:Mon, 29 Sep 2008

Hi, I am using Delphi7 and using Shellexec to run Word XP. When I run Word from within Delphi I want to be able to capture the name (and path) of the file that Word has saved. Until the user saves in Word I will not be able to determine the files name.

I have been looking at  the Windows SDK and some of the Word automation code. Could anyone please point me in the right direction.

Thanks

Terry

Replies