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!

Looking for the path of current tmp doc (pre save)

Status
Not open for further replies.

Tony1l

Programmer
Dec 21, 2002
30
US
In short I'm trying to find the changing path of the temporary MS-Word document. This is the corresponding tmp for the open-unsaved document through Delphi.

Purpose: To save the user from having to save then (attach/reopen) this doc for email. Immediately upon the form completion (before saving) the user clicks a button which attaches and emails the doc. If I had some function to find the tmp path I could email the form with a single button.

Note: Word allows attaching a doc as part of the interface but if used prior to saving it would email the blank form which is a limit i'm trying to overcome.



 
Are you creating or accessing the Word document? If this needs to happen within Word you could use Add-In Express VCL version to create a Word add-on that could do this.
 
I have an existing Word doc that I use. I'll give Express VCL a shot at the task. Thanks for the tip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top