Results 1 to 6 of 6

Thread: DLL on the server?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Posts
    1

    DLL on the server?

    I have written an DLL with some routines that an EXE calls. The EXE is located on a server where multiple clients can access it. If I register the DLL on the server will all of the clients have access to it?

    I am attempting to do this but keep getting the error: "Error 429: ActiveX component cannot create object" when it tries to access the routine in the DLL. Is there something I need to do when making the "Createobject" call from the Exe?


    Barbara

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    As far as I know you will either have to register the dll on the client machines or look into COM+ and component services(2K) or MTS(NT)

  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    Agreed. Each machine, when executing the EXE, must search its own registry for the components.

    Dave

  4. #4
    Addicted Member
    Join Date
    Dec 2002
    Posts
    175
    If you don't want to install on the clients and not use COM+ you might look into DCOM (Distributed COM).
    I assume you do not want to use .NET.

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961
    Originally posted by jas4th
    If you don't want to install on the clients and not use COM+ you might look into DCOM (Distributed COM).
    I assume you do not want to use .NET.
    How would this change if he were to use .NET?

  6. #6
    Banned
    Join Date
    Jul 2003
    Location
    New delhi
    Posts
    143
    Hi your error is a genuiune error

    Try this code it remove all the error .



    Const ERR_APP_NOTRUNNING As Long = 429

    On Error Resume Next
    Set xlApp = GetObject(, "Excel.Application")
    xlApp.Visible = False
    If Err = ERR_APP_NOTRUNNING Then
    Set xlApp = New Excel.Application
    Err.clear
    End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width