Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2004, 08:45 PM
Authorized User
 
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to enter data to pdf or word doc from ASP

hello friends,

I am stuck in a problem. iam working on website using ASP. in that, i need to open a word document and populate some data to the word document. here is the first line of code i used:

Dim myword
set myword = createobject("Word.Application")
.
.
.

here is the error i got : "ActiveX component cannot create an object for 'Word.Application' "

so i tried with "server.createobject("Word.Application")".
but it gave me the same error. do anyone of think that i need a word application component(DLL library) for this? if so, where can i get it
and how to register in server? please reply me soon

Thank you for your considereation

santhosh

 
Old September 15th, 2004, 10:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Looks like your webserver has no MS office/Ms Word installed, that result in this error.

_________________________
- Vijay G
Strive for Perfection
 
Old September 16th, 2004, 08:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Looks like this has been posted all over here on the ASP forums.

Including this topic, cross posts at
ASP > ASP Components > ow to enter data in to a pdf or word doc from ASP

ASP > ASP CDO > how to manage a word or pdf application from ASP??

Another cross post from the same member
ASP > ASP Components > uploading images to server

ASP > ASP CDO > uploading images to server

Santhosh,
I see you posted just 6 so far, out of which 5 were cross-posted. Why do you have to spill your posts across many forums here, if you are not patient enough to find a best fit for your post or wait for replies from others?

Moderator, Pls be informed on this memeber & keep a watch.

_________________________
- Vijay G
Strive for Perfection
 
Old July 10th, 2007, 05:52 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey even i am facing a similar problem ...its giving me an error when I try to create an object of Word..in ASP. Has anyone figured out a solution for this..plz.. help


  Set objWord = CreateObject("Word.Application")
  objWord.DisplayAlerts = 0
  objWord.Application.Visible = true
* objWord.Documents.Open wordPath', false, true

* Error Type:
  Microsoft Word (0x800A175D)
  Could not open macro storage.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way 2 store data in a Word Doc? BrianWren VB Databases Basics 0 April 14th, 2008 06:07 PM
displaying a word doc using asp Adam H-W Classic ASP Databases 0 December 10th, 2005 09:15 AM
ow to enter data in to a pdf or word doc from ASP joseph007 Classic ASP Components 0 September 15th, 2004 08:43 PM
Pass data from Web page to Word Doc kilika Classic ASP Professional 1 April 8th, 2004 06:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.