![]() |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2004
Posts: 5
|
Opening a .doc Document in ASP
HI
I should like to provide individual itineraries for delegates who come to a meeting that we organise through http://www.ntam.org.uk I would like to open a word document, insert the individual's details and allow the client to view it. I seem to be stumbling at the first hurdle! When I use: --------------------- Dim objWord ' create object Set objWord = CreateObject("Word.Application") ' open word template With objWord .Visible = True .Documents.Add CurrentProject.Path & "path and filename here.doc" End With ------------------- I get the error: Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object: 'Word.Application' I've tried altering the path but it seems to be a problem with creating the object. Any suggestions? Thanks Tony PS I'm hardly ASP literate let alone .NET!! Last edited by CAT2188; 08-07-2006 at 02:58 PM. Reason: Clarity |
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: Oct 2003
Posts: 1,484
|
I am not an ASP expert by far (.net man). But my understanding is that Word.Application would require MS Word to be installed on the host machine. This isn't and never will be the case with Cat2 servers.
From experience editing word documents through a website is not an easy task. I have done it one project, (due to the use of 3rd party components and their bizzar permission requirements, it would not work on Cat2s servers). Point being is that it took me around 3 solid days to do the smallest bit of editing. My advice is find another alternative! Office 2007 and it's new ZIP compressed XML based document format will make editing documents infinitely better. I also hope (although have not looked into it in the slightest), that Cat2 may be able to install Office Live Services on their servers. Sorry to be the bearer of bad news!
__________________
Jason Robbins jason@catalyst2.com |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|