|
-
Apr 29th, 2004, 04:39 PM
#1
Thread Starter
New Member
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
-
Apr 30th, 2004, 04:58 AM
#2
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)
-
Apr 30th, 2004, 04:32 PM
#3
Agreed. Each machine, when executing the EXE, must search its own registry for the components.
Dave
-
May 21st, 2004, 04:11 AM
#4
Addicted Member
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.
-
May 21st, 2004, 08:23 AM
#5
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?
-
May 31st, 2004, 01:12 AM
#6
Banned
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|