-
Word automation from ASP Page
I am trying to use ASP to create the word.application using the following
code:
Set objApplication = CreateObject("Word.Application")
Set objDoc = objApplication.documents.add
I get an error stating that the object cannot be created.
Any suggestions??
-
Re: Word automation from ASP Page
hi sir
we should use server object.
modify ur code as below
<%
Set objApplication = Server.CreateObject("Word.Application")
..............ur code goes here...............
%>
by
kt
"David" <David@mail.com> wrote:
>
>I am trying to use ASP to create the word.application using the following
>code:
>
>Set objApplication = CreateObject("Word.Application")
>Set objDoc = objApplication.documents.add
>
>
>I get an error stating that the object cannot be created.
>
>Any suggestions??
-
Re: Word automation from ASP Page
I still get this message:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
does word need to be loaded on the web server???
--------------------------------------------------
"thiruthanikan" <kthiru72@yahoo.co.in> wrote:
>
>hi sir
>we should use server object.
>modify ur code as below
>
><%
>Set objApplication = Server.CreateObject("Word.Application")
>
>..............ur code goes here...............
>%>
>
>by
>kt
>
>"David" <David@mail.com> wrote:
>>
>>I am trying to use ASP to create the word.application using the following
>>code:
>>
>>Set objApplication = CreateObject("Word.Application")
>>Set objDoc = objApplication.documents.add
>>
>>
>>I get an error stating that the object cannot be created.
>>
>>Any suggestions??
>
-
Re: Word automation from ASP Page
Thank You for the article link. This helps...
----------------------------------------------------
Paul Clement <UseAdddressAtEndofMessage@swspectrum.com> wrote:
>On 26 Aug 2002 06:56:29 -0700, "David" <David@mail.com> wrote:
>
>¤
>¤ I am trying to use ASP to create the word.application using the following
>¤ code:
>¤
>¤ Set objApplication = CreateObject("Word.Application")
>¤ Set objDoc = objApplication.documents.add
>¤
>¤
>¤ I get an error stating that the object cannot be created.
>
>I would check out the following MS KB article. You need to be aware of the
security
>issues when
>automating Office applications on the server.
>
>INFO: Considerations for Server-Side Automation of Office
>http://support.microsoft.com/default...EN-US;Q257757&
>
>
>Paul ~~~ pclement@ameritech.net
>Microsoft MVP (Visual Basic)
-
Re: Word automation from ASP Page
On 26 Aug 2002 06:56:29 -0700, "David" <David@mail.com> wrote:
¤
¤ I am trying to use ASP to create the word.application using the following
¤ code:
¤
¤ Set objApplication = CreateObject("Word.Application")
¤ Set objDoc = objApplication.documents.add
¤
¤
¤ I get an error stating that the object cannot be created.
I would check out the following MS KB article. You need to be aware of the security issues when
automating Office applications on the server.
INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/default...EN-US;Q257757&
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|