Search code examples
delphims-wordautomationoffice-2010

Word 2010 automation with templates


I have written several applications in Delphi which use Word automation. The programs all use templates which are stored in a directory. In pre-2010 versions of Word, one would define the location of the templates in tools|options|file locations; the programs would pass the name of the template and Word would know where to find it.

My client has now moved to Office 2010, and as a result, Word cannot find the template when started by my programs. I haven't been able to find a similar dialog box in Word in which I can define the default directory for templates. How does one define such a directory?


Solution

  • Click File | Options | Advanced | File Locations and you get the same dialog as in older verionsalt text