sandeep_id
May 3rd, 2002, 06:45 AM
I've a LAN environment in which I've a server called MACHINE_MAIN. My requirement is to run applications in the other machines in the network(MACHINE_A,MACHINE_B etc..) from MACHINE_MAIN and pass some info to those apps. i.e. When I invoke a module in MACHINE_MAIN, it should start applications in the other machines.
Some people suggested me using Winsock ctrl but here I need to have an application running in the other machines all the time listening to a request from MACHINE_MAIN. I dont want that to happen. I want the application (VB app) installed in the other machines to be automatically invoked by the centralised machine, MACHINE_MAIN, but all these applications should run in the respective machines.
What is the best method available to achive the same in VB? All these apps installed in other machines are doing the same job of processing some files. So I need to pass some info to these apps from MACHINE_MAIN. Can I use DCOM? But dont I need to have different DCOM servers for different nodes though all the nodes are doing the same operation? Can I install the same copy of servers in different nodes and call them from MACHINE_MAIN?
eg.
Dim objTestA as Test.TestClass
Dim objTestB as Test.TestClass
Set objTest=CreateObject"Test.TestClass","Machine_A")
Set objTest=CreateObject"Test.TestClass","Machine_B")
Can I do like this? What are the steps I should take care of while installing "Test.TestClass" in MACHINE_MAIN.
It's very urgent. Hope someone would lend his helping hand soon. Thanx in advance.
Sandeep
Some people suggested me using Winsock ctrl but here I need to have an application running in the other machines all the time listening to a request from MACHINE_MAIN. I dont want that to happen. I want the application (VB app) installed in the other machines to be automatically invoked by the centralised machine, MACHINE_MAIN, but all these applications should run in the respective machines.
What is the best method available to achive the same in VB? All these apps installed in other machines are doing the same job of processing some files. So I need to pass some info to these apps from MACHINE_MAIN. Can I use DCOM? But dont I need to have different DCOM servers for different nodes though all the nodes are doing the same operation? Can I install the same copy of servers in different nodes and call them from MACHINE_MAIN?
eg.
Dim objTestA as Test.TestClass
Dim objTestB as Test.TestClass
Set objTest=CreateObject"Test.TestClass","Machine_A")
Set objTest=CreateObject"Test.TestClass","Machine_B")
Can I do like this? What are the steps I should take care of while installing "Test.TestClass" in MACHINE_MAIN.
It's very urgent. Hope someone would lend his helping hand soon. Thanx in advance.
Sandeep