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 February 17th, 2005, 11:50 PM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Andraw,

   I have the same problem of error ( ActiveX component can't create object: 'Word.Document' ). You said you have changed the setting and it is running ok now, can you teach me what should I do in the DCOMCNFG and what setting to be done in the security under the internet option?
   I will appreciate your help and thanks. i hope to hearing from you soon, thanks.

Regards,
Eric

 
Old February 24th, 2005, 07:18 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, Eric,
Did you solve your problem? All I do when I try to use ActiveX control is: in the internet explorer,
Tools ->Internet Options ->Security->Customer Level, check "Download Unsigned ActiveX Control" from disable to Enable, try it again.
Hope it can help

Andraw


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

hi all,

     i am having problem with word autoamtion. my coding is working fine in the local system.but it is very slow and not open the file in the terminal server. please anyone help me.

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:
     <%
    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.")
    %>




Thanks,
Kalees
 
Old January 22nd, 2007, 06:07 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi all,
 i am doing a project on uploading and downloading files from local server.
i hav created axtivex control for uploading and downlaoding
but i client has not enabled the activex then the error comes

can i change the client browser settings automaticallay (not manually) or is there any another way to do this???

please tell me







Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
ActiveX DLL Joann Beginning VB 6 6 January 25th, 2007 08:50 PM
creating an activex dll amc VB Components 7 June 25th, 2004 05:10 PM
Distribution of ActiveX DLL james gold Pro VB 6 6 September 10th, 2003 11:13 AM





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