Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Word And ASP


Message #1 by "Catalin Ignat" <cignat@s...> on Mon, 23 Dec 2002 14:46:19 +0200
Hello all,

Please tell me what to do to open a word document from my asp. I have
installed MSOffice on the server, and still get an error when try to use:

    CreateObject("Word.Document")

Many thanks,
Catalin

Message #2 by Greg Griffiths <greg2@s...> on Mon, 23 Dec 2002 20:03:50 +0000
What error do you get and can you provide some more code ?

At 14:46 23/12/02 +0200, you wrote:
>Hello all,
>
>Please tell me what to do to open a word document from my asp. I have
>installed MSOffice on the server, and still get an error when try to use:
>
>     CreateObject("Word.Document")
>
>Many thanks,
>Catalin
>
>



Message #3 by Aaron.Mintz@d... on Mon, 23 Dec 2002 15:32:17 -0500
Is the error your getting "Could not Open Macro Storage"?

-----Original Message-----
From: Greg Griffiths [mailto:greg2@s...] 
Sent: Monday, December 23, 2002 3:04 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Word And ASP


What error do you get and can you provide some more code ?

At 14:46 23/12/02 +0200, you wrote:
>Hello all,
>
>Please tell me what to do to open a word document from my asp. I have 
>installed MSOffice on the server, and still get an error when try to 
>use:
>
>     CreateObject("Word.Document")
>
>Many thanks,
>Catalin
>
>
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>unsubscribe send a blank email to 




Message #4 by "Catalin Ignat" <cignat@s...> on Tue, 24 Dec 2002 08:53:30 +0200
Hello,

the error it's

     ActiveX component can't create object: 'Word.Document'

All examples I have seen from the web start directly by creating the Word
objects, only one tell me that the Office must be installed on server. Well,
I installed Office but I cannot instantiate Word objects.

Thanks,
Catalin

Message #5 by "George Draper" <gdraper@c...> on Tue, 24 Dec 2002 10:12:52 -0500
Have you put in a reference in the global.asa file such as:

<!--METADATA TYPE="TypeLib" NAME="Microsoft Office 10.0 Object Library"
UUID="{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}" VERSION="2.2"-->

- George

George Draper
Senior Web Site Developer
ITS Web Services
Capital Region Health Care, Inc.

gdraper@c...

Tel:(603)230-1140

>>> cignat@s... 12/23/2002 7:46:19 AM >>>
Hello all,

Please tell me what to do to open a word document from my asp. I have
installed MSOffice on the server, and still get an error when try to
use:

    CreateObject("Word.Document")

Many thanks,
Catalin



  Return to Index