471,353 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,353 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 1560
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Russ McDaniel | last post: by
7 posts views Thread by Steve Long | last post: by
3 posts views Thread by Jeremy S. | last post: by
4 posts views Thread by Mrinal Kamboj | last post: by
1 post views Thread by Sunil | last post: by
6 posts views Thread by uuyytt | last post: by
13 posts views Thread by dancer | last post: by

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.