Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 20th, 2006, 04:03 AM
Registered User
 
Join Date: Sep 2006
Location: chennai, tamilnadu, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Word automation is not working in terminal server

I am having problem with word automation. my coding is working fine in local system.but it is not working in the terminal server. i am using word2003 professional but terminal server contains word2003 standard.please anyone help me.

 <%
    Set WordServer = Server.CreateObject("Test.Wordserver")
    Set objWordobject = WordServer.GetWord 'Get Word instance

     objWordobject.Visible = True

   strTemplate="c:\template.dot"
  'Open doc
          Set objDocobject=objWordobject.Documents.add(strTempla te)

%>


 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


Thanks,
Kalees
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Automation TheNoobiest Beginning VB 6 1 November 9th, 2007 03:11 PM
Word Automation in XP bmains ASP.NET 1.0 and 1.1 Professional 0 July 21st, 2004 09:27 AM
Access on Terminal Server rbrady Access 0 April 14th, 2004 08:43 AM
Word automation in VB bobshark VB How-To 1 June 13th, 2003 08:16 AM



All times are GMT -4. The time now is 06:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.