Hello all
Can anyone give me a good source of information on creating, Showing the MS word document from ASP.
I have tried - it saved but not visible. I don't know what's wrong.
The Source code is :
<% Dim docname,strtemplate,objdoc,objword
Set objword = CreateObject("word.application"
objword.Visible = True
strtemplate = "c:\testsource.doc"
Set objdoc = objword.Documents.add(strtemplate)
docname = "C:\testoutput.doc"
objdoc.SaveAs docname
objword.Documents.Open docname
Set objdoc = Nothing
objword.Application.Quit
Set objword = Nothing
%>
Thanks
Zainal
Can anyone give me a good source of information on creating, Showing the MS word document from ASP.
I have tried - it saved but not visible. I don't know what's wrong.
The Source code is :
<% Dim docname,strtemplate,objdoc,objword
Set objword = CreateObject("word.application"
objword.Visible = True
strtemplate = "c:\testsource.doc"
Set objdoc = objword.Documents.add(strtemplate)
docname = "C:\testoutput.doc"
objdoc.SaveAs docname
objword.Documents.Open docname
Set objdoc = Nothing
objword.Application.Quit
Set objword = Nothing
%>
Thanks
Zainal