Opening new word documents from templates in .Net

M

Mandarb

H

I have to open a MS Word 2003 document from a web page and then save it to a web server. My problem is that I can't find out how to make a new document from a template in code. The templates that I use have some code in from where I copy the custom forms to the new document, but just opening the template and saving it as a document, screws around with the code

Any help on how to open a new document from a template will be greatly appreciated
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?TWFuZGFyYg==?=,
I have to open a MS Word 2003 document from a web page and then save it to a web server. My problem is that I can't find out how to make a new document from a template in code. The templates that I use have some code in from where I copy the custom forms to the new document, but just opening the template and saving it as a document, screws around with the code.

Any help on how to open a new document from a template will be greatly appreciated.
Use the Application.Documents.ADD method :)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top