473,386 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Mimic Service Control Manager Functionality

Hello,
I would like to have a main C# EXE that controls many other C# EXE
applications. These C# EXE applications would need to implement a Base class
that provides a bunch of plumbing that is tied to the main executable. I
would like any thoughts on how this can be done?
Thanks,
Ken
Feb 7 '06 #1
4 1606
Ken,

I would have the base class expose a remoting endpoint. This way, you
can control the applications, or at least, have them all implement a similar
interface which you can connect to and use to control them.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Kenneth H. Brannigan" <Ke***************@discussions.microsoft.com> wrote
in message news:E0**********************************@microsof t.com...
Hello,
I would like to have a main C# EXE that controls many other C# EXE
applications. These C# EXE applications would need to implement a Base
class
that provides a bunch of plumbing that is tied to the main executable. I
would like any thoughts on how this can be done?
Thanks,
Ken

Feb 7 '06 #2
Would threads not work for you instead of seperate processes? If you really
need seperate processes, maybe a Remoting IPC channel .

--
William Stacey [MVP]

"Kenneth H. Brannigan" <Ke***************@discussions.microsoft.com> wrote
in message news:E0**********************************@microsof t.com...
| Hello,
| I would like to have a main C# EXE that controls many other C# EXE
| applications. These C# EXE applications would need to implement a Base
class
| that provides a bunch of plumbing that is tied to the main executable. I
| would like any thoughts on how this can be done?
| Thanks,
| Ken
Feb 7 '06 #3
Thanks for the information.

"William Stacey [MVP]" wrote:
Would threads not work for you instead of seperate processes? If you really
need seperate processes, maybe a Remoting IPC channel .

--
William Stacey [MVP]

"Kenneth H. Brannigan" <Ke***************@discussions.microsoft.com> wrote
in message news:E0**********************************@microsof t.com...
| Hello,
| I would like to have a main C# EXE that controls many other C# EXE
| applications. These C# EXE applications would need to implement a Base
class
| that provides a bunch of plumbing that is tied to the main executable. I
| would like any thoughts on how this can be done?
| Thanks,
| Ken

Feb 8 '06 #4
Nicholas,
Thanks for the information. I think this will work for my particular
situation. I am going to look into more.
Thanks,
Ken

"Nicholas Paldino [.NET/C# MVP]" wrote:
Ken,

I would have the base class expose a remoting endpoint. This way, you
can control the applications, or at least, have them all implement a similar
interface which you can connect to and use to control them.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Kenneth H. Brannigan" <Ke***************@discussions.microsoft.com> wrote
in message news:E0**********************************@microsof t.com...
Hello,
I would like to have a main C# EXE that controls many other C# EXE
applications. These C# EXE applications would need to implement a Base
class
that provides a bunch of plumbing that is tied to the main executable. I
would like any thoughts on how this can be done?
Thanks,
Ken


Feb 8 '06 #5

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

Similar topics

2
by: Russ McDaniel | last post by:
Originally posted to microsoft.public.dotnet.distributed_apps with no response. Reposted here with additional thoughts. --- Hello, I'm writing a Windows service which performs some...
7
by: Steve Long | last post by:
In writing a Windows service with .NET, I'm noticing that the process for some services can not be killed with specifically stopping the service. If you try to kill the process with, say task...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
4
by: Mrinal Kamboj | last post by:
Hi , Doubt may be bit trivial , but i wanted to know , what are the exact benefits derived while we run a background process as an NT service in windows , we can as well achieve the...
1
by: Sunil | last post by:
Hi, Is it possible to redirect a web service on some other URL using IIS Manager. Actually i have a web service whose source code is not available. I want to add some functionality to that...
2
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
4
by: Jianwei Sun | last post by:
Hi, all, I have a question, and I hope to get some hints here.. I created a really simple service just to check why the service manager doesn't start my service the second time if the first...
6
by: uuyytt | last post by:
I have a Windows service from which I want to start Internet Explorer with a particular URL as an argument. I don't know why my code (shown below) doesn't work. I know that IExplore.exe starts as I...
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.