469,336 Members | 5,248 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

Writting Word document fields from ASP

Hi All,
I am working on a application in ASP which has some data to be written
to a Word document which can used as a template. I am having problems in
creating an Object to open a word document. Please help me in this

Thanx in Advance
Praveena
Jul 19 '05 #1
2 2492
Post code, error, etc.

Ray at home

"Praveena" <pr******@cc-re.com> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Hi All,
I am working on a application in ASP which has some data to be written to a Word document which can used as a template. I am having problems in
creating an Object to open a word document. Please help me in this

Thanx in Advance
Praveena

Jul 19 '05 #2
ray
you sure Word.Application is the correct ProgID?
i tried it on server side but saying it's not.

ray

"Praveena" <pr******@cc-re.com> wrote in message news:<#G**************@TK2MSFTNGP12.phx.gbl>...
Here is the error i am getting:

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
at line 13

here is the code

Dim WordApp
Set WordApp = CreateObject("Word.Application") //line 13 in the code

thanks in advance
Praveena

"Ray at <%=sLocation%>" <ra*@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
message news:%2***************@TK2MSFTNGP11.phx.gbl...
Post code, error, etc.

Ray at home

"Praveena" <pr******@cc-re.com> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Hi All,
I am working on a application in ASP which has some data to be written to a Word document which can used as a template. I am having problems in
creating an Object to open a word document. Please help me in this

Thanx in Advance
Praveena


Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Stefania Scott | last post: by
4 posts views Thread by Dadio | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.