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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shutting down a COM+ application programmatically 1

Status
Not open for further replies.

beredon

Programmer
Jan 5, 2001
17
AU
I was wondering if it is at all possible to shutdown a COM+ application through code.

If so, could you give me a pointer in how to do it?

Thanks.
 
Hi there,

we use the following VBScript to shut down our application:

Dim Catalog
Set Catalog = CreateObject("COMAdmin.COMAdminCatalog.1")
Catalog.ShutdownApplication ("AppName")

Just replace AppName with the name of the COM+-Application you want to stop.

Cheers, Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top