-
Seeking advice
Hi everyone,
Before I get into the question let me give you a little background on the app i am writing. Basically I have 2 apps. One is called the controller the other is called the administrator. The controller will be on mutliple machines. the Administrator will be on one machine. I am wanting to send the controller a phone number from the adminstrator. Currently I have it set up like this. The controller is an Active X exe. The administrator is a standard exe.
The controller is also being used for another purpose as well. It has a user interface.
My question is this. What would be the best way to do this. And should I use DCOM or COM+. Also any other ideas you may have would be much appreciated.
Thanks for you assistance.
-
Unless the various programs have a common point of reference (like a database, message queue, MTS, shared file or TCP/IP connections) then DCOM is probably what you want.
As the controller is already an activeX component, then you just register it for DCOM. (Get VB to generate the extra files and register the various bits)
Your administrator program would then use CreateObject and fill in the optional 2nd parameter (machine to run it on). Yes, this means you need to know the names of the machines ...
Dave