473,729 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can we get the list of COM+ Applications using System.ServiceP rocess

Hi

We use System.ServiceP rocess.ServiceC ontroller class is used to get the list
of windows services installed in a particular machine.

Also we use System.ServiceP rocess.ServiceC ontroller.GetSe rvices("IIS") to
get the control on the IIS ..

In the same way can we get the List of services which are part of the COM+
applications.

basically i need to start/STop the COM+ applications using the

System.ServiceP rocess.ServiceC ontroller class..

is this possible ??

Thanks
Senthil


Jan 24 '06 #1
1 2703

"SenthilVel " <se************ ******@misyshea lthcare.com> wrote in message
news:OC******** ******@TK2MSFTN GP11.phx.gbl...
| Hi
|
| We use System.ServiceP rocess.ServiceC ontroller class is used to get the
list
| of windows services installed in a particular machine.
|
| Also we use System.ServiceP rocess.ServiceC ontroller.GetSe rvices("IIS") to
| get the control on the IIS ..
|
| In the same way can we get the List of services which are part of the COM+
| applications.
|
| basically i need to start/STop the COM+ applications using the
|
| System.ServiceP rocess.ServiceC ontroller class..
|
| is this possible ??
|
| Thanks
| Senthil
|
|

COM+ applications aren't services (unless you did configure your com+
application to run as a service), so they can't be controlled through the
ServiceControll er class.
You only option is to use the "ComAdmin" automation interfaces, from managed
code you need to set a reference to the "COM+ Admin Type Library". Check the
platform sdk docs for details.

Willy.

Jan 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2240
by: Roger | last post by:
I would like to get a list of services on a remote computer. Is this possible via code in VB.Net? Thanks, Rog
1
4173
by: Norman Fritag | last post by:
Hi there I have avoided to use active x controls because I thought they are causing more problems then they are doing any good. I a new application I would want to use the tree and list view control in access 2002. Prior to that I like to fine some information or here some feed back from developers who have use active x controls success fully in there application, what their experience was.
6
6159
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but my mappings between named colors, HEX values and the Long Integer values used in Access are not jibbing. Anyone have a nice list laying around? Danny J Lesandrini dlesandrini@hotmail.com
26
4479
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using System.EnterpriseServices;
3
1081
by: TT (Tom Tempelaere) | last post by:
Hi there I am making a service project in C#, and I'm in the process of writing the installer. I made an installer class by using the "Add Installer" menu-item in the design window of the service, then I configured the properties of the installers When I run InstallUtil on the executable, it fails with the following message "An exception occurred while trying to find the installers in the c:\...\obj\debug\MyService.exe assembly...
6
1394
by: Pawel Janik | last post by:
Hello, I wrote a system service, whis is located in assembly called "s1.exe". But i like to install this service twice. Problem starts, when service starts....a service code loks like this: public class TestService : ServiceBase { public TestService(string serviceName) {
0
970
by: SenthilVel | last post by:
Hi We use System.ServiceProcess.ServiceController class is used to get the list of windows services installed in a particular machine. Also we use System.ServiceProcess.ServiceController.GetServices("IIS") to get the control on the IIS .. In the same way can we get the List of services which are part of the COM+ applications.
2
1566
by: Kondapanaidu | last post by:
Hi, I am using C#.NET 2.0 along with WIN2K Professional. How to list available servicenames using C#(Under services.msc) Please send me the example code for this. Thanks in advance.
16
13602
by: Brian D | last post by:
I have a multiple select list that is created dynamically based on a previous selection on an asp page. The first thing I do is to clear the curent option list by document.form1.itemcross.length = 0; The only problem is that it leaves the optgroups. How do I also get rid of the optgroups? Thanks
0
8934
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9436
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9297
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9164
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8168
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6028
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4537
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4799
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3248
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.