473,796 Members | 2,434 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 2707

"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
2248
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
4176
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
6161
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
4498
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
973
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
1568
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
13620
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
9680
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
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10006
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...
1
7547
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
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
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
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
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.