Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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 June 5th, 2005, 07:35 AM
Registered User
Join Date: Dec 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to narendrapawar
Default word templates automation


We have a lot of word templates and we need to automate on the intranet. Would it be advisable for me to use asp to automate that. Wont that be a problem when around 1000 people use at the same time. If you guys know of any technology which can automate such things, let me know. Thank you.
Old June 5th, 2005, 03:21 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

can you be a bit more detailed in what you mean by automate ? do you want to do something like http://www.greggriffiths.org/webdev/both/excel/ ?
Old June 6th, 2005, 10:18 AM
Registered User
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

You may want to look at Microsoft Sharepoint - it may well be a very rapid way of doing what you need. Difficult to say without more information though

Old September 20th, 2006, 04:11 AM
Registered User
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


 i am having problem with word automation. it is working fine in the local but it is not working in the terminal server.i am using word2003 professional and terminal server contains word 2003 standard. please anyone help.
Option Explicit
    Private mwrdApp As Word.Application 'Holds Word instance

    Private Sub Class_Initialize ()
      Set mwrdApp = New Word.Application 'Create Word instance
    End Sub

    Private Sub Class_Terminate ()
      mwrdApp.Quit 'Kill Word instance
      Set mwrdApp = Nothing 'Kill reference
    End Sub

    Public Function GetWord () As Word.Application
      Set GetWord = mwrdApp 'Return Word instance
    End Function

  Compile DLL.

ASP Code:
  Put in directory with scripting permissions under IIS 4.0:
    Set WordServer = Server.CreateObject("Test.WordServer")
    Set Word = WordServer.GetWord 'Get Word instance
    Set Document = Word.Documents.Add 'Create new document
    Document.Close 'Close document
    Response.Write ("Word created & closed document successfully.")


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Automation TheNoobiest Beginning VB 6 1 November 9th, 2007 03:11 PM
Automation of Word using C# without Reference ramk_1978 C# 0 November 7th, 2006 06:50 AM
Word Automation in XP bmains ASP.NET 1.0 and 1.1 Professional 0 July 21st, 2004 09:27 AM
Word automation in VB bobshark VB How-To 1 June 13th, 2003 08:16 AM

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