Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing DCOM Run Location programatically

Status
Not open for further replies.

SeanIDI

Programmer
Aug 23, 2007
1
US
Hello All,

For a customer requirement, I need to be able to change the run location of two DCOM components programatically. That is, when you naviate to Component Services -> ... -> DCOM Config and then go to a components properties, I need to be able to select and unselect the "Run application on this computer" checkbox.

The reason is that sometimes the application will need to be run from a laptop in the field, and other times the laptop will be plugged into a network and will need to interact with the central server that is running these components as well.

When I say programatically, I just mean I need something they can click and that it can inform them that there computer has been set up to run locally / on the network.

Just as a reality check, if both "Run application on this computer" and "Run application on the following computer" are checked, it will run the application on "this" computer, correct?

Thanks in advance.

Sean

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top