PDA

View Full Version : Restarting COM+ Services



redders83
07-16-2007, 10:37 PM
Hi,

does anyone know a way to restart a COM+ Service?

thanks in advance.

redders83
07-24-2007, 08:48 PM
anyone can help? thanks

hidenori
07-25-2007, 11:43 AM
You should be able to accomplish it through the COM+ administration. The following is a sample VB code to start a COM+ application:
Dim Catalog As COMAdminCatalog
Set Catalog = CreateObject("COMAdmin.COMAdminCatalog")
Catalog.StartApplication "ApplIdOrName"
Set Catalog = Nothing

Hope that helps.