Bart,

If you want to see some info on how this sort of Automation document manipulation is used with actual production software, grab the SmartDoc.doc document that's pointed to by the Creating a 'Smart' Document link on this page:

http://www.agry.purdue.edu/mmp/MmpDocs.htm

This document covers template and field basics. Note that a template file (.dot) can go anywhere, for example in the same folder as your app. If you want your users to select your template in Word's File | New, then it should go somewhere that Word can find it, like under C: \Program Files\Microsoft Office\Templates\1033. If you're creating a document programmatically, it doesn't have to go there, though.

Thanks.

-Phil


_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to