I'm not sure of your application, but if you are just creating the document, not applying modificaitions, you can use the file object to
simply copy the template to the new name (since a DOT file is the same internally as a DOC). Like:
Set oFS = Server.CreateObject("Scripting.FileSystemObject")
oFS.CopyFile cName, "\\UNC\" & cTempName, True
>Hi all...
>
>I'm tring to figure out how to create a new MS Word document from a pre-existing template and save it to a UNC path on the fly with ASP. The name of the saved file will be driven by the prime key in a FoxPro database. Any assistance would be appreciated. The web server is NT 4.0 running IIS4.
>
>Thanks,
>
>Mark L. Pullen
>DST Systems, Inc.
>
mark@thepullens.com