using the dot template in the ASP.net applications

G

Guest

we are developing a ASP.net application where in we want to call the existing
dot template files of word or rather create the instance of the existing
template files in the ASP.net application ...IS it possible????????........if
not then is there any other method of including the images in WORD DOCUMENTS
created through ASP.net applications...............
 
M

mona

Hello Teja,

You can use the following code snippet to call a Word template in your
application:

Word.ApplicationClass oWordApp = new Word.ApplicationClass();
object oTemplate = "c:\\MyTemplate.dot";
oWordDoc = oWordApp.Documents.Add(ref oTemplate,
ref Missing,ref Missing, ref Missing);

HTH

Mona
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top