473,382 Members | 1,202 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,382 software developers and data experts.

bringing up processes on "slave" computers through windows service in c#

Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.

Mar 6 '07 #1
5 1541
No, not without opening sockets.

--
HTH,

Kevin Spencer
Microsoft MVP

Help test our new betas,
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"amir" <mo****@gmail.comwrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.

Mar 6 '07 #2
"amir" <mo****@gmail.comwrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.

You really have to be more specific, for instance what "processes" are you talking about,
more precisely what kind of applications do you mean here and what do you mean with "
controlling the state"?

Willy.
Mar 6 '07 #3
On Mar 7, 12:29 am, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.bewrote:
"amir" <mog...@gmail.comwrote in message

news:11**********************@p10g2000cwp.googlegr oups.com...
Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.

You really have to be more specific, for instance what "processes" are you talking about,
more precisely what kind of applications do you mean here and what do you mean with "
controlling the state"?

Willy.
i am talking on programs that "sit" on other computers which i need to
bring up when before the program can start its run. meaning i have 4
different computers , 1 which the main program runs and oher 3 which
need to run 3 applications on their computers and then i can start run
my tests on the setup. i need to bring them up and occaisionally test
if they are still running ... or if at all they were able to run.
thnx,
amir

Mar 7 '07 #4
"amir" <mo****@gmail.comwrote in message
news:11**********************@30g2000cwc.googlegro ups.com...
On Mar 7, 12:29 am, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.bewrote:
>"amir" <mog...@gmail.comwrote in message

news:11**********************@p10g2000cwp.googleg roups.com...
Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.

You really have to be more specific, for instance what "processes" are you talking about,
more precisely what kind of applications do you mean here and what do you mean with "
controlling the state"?

Willy.

i am talking on programs that "sit" on other computers which i need to
bring up when before the program can start its run. meaning i have 4
different computers , 1 which the main program runs and oher 3 which
need to run 3 applications on their computers and then i can start run
my tests on the setup. i need to bring them up and occaisionally test
if they are still running ... or if at all they were able to run.
thnx,
amir

Well, this doesn't answer the question what kind of applications these are, but
System.Diagnostics.Process is the class to look for. You can start a program and inspect
it's state on a remote computer using Process.Start (look for the MachineName property of
the Process class). However, be aware that you are constrained by the Windows security
system, you can't run an interactive program remotely for instance, you also need
administrative privileges on the remote computer, in order to start a remote application.

Willy.
Mar 7 '07 #5
On Mar 7, 11:31 am, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.bewrote:
"amir" <mog...@gmail.comwrote in message

news:11**********************@30g2000cwc.googlegro ups.com...


On Mar 7, 12:29 am, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.bewrote:
"amir" <mog...@gmail.comwrote in message
>news:11**********************@p10g2000cwp.googleg roups.com...
Hello All,
Just wanted to know if c# has a class which can handle communication
between neighbour computers in same network so if i run a program on
one computer it will be able to bring up processes and have all other
properties of controling the state of that process through a service
which is already running on windows... that is, without opening
sockets ???
Thanks,
Amir.
You really have to be more specific, for instance what "processes" are you talking about,
more precisely what kind of applications do you mean here and what do you mean with "
controlling the state"?
Willy.
i am talking on programs that "sit" on other computers which i need to
bring up when before the program can start its run. meaning i have 4
different computers , 1 which the main program runs and oher 3 which
need to run 3 applications on their computers and then i can start run
my tests on the setup. i need to bring them up and occaisionally test
if they are still running ... or if at all they were able to run.
thnx,
amir

Well, this doesn't answer the question what kind of applications these are, but
System.Diagnostics.Process is the class to look for. You can start a program and inspect
it's state on a remote computer using Process.Start (look for the MachineName property of
the Process class). However, be aware that you are constrained by the Windows security
system, you can't run an interactive program remotely for instance, you also need
administrative privileges on the remote computer, in order to start a remote application.

Willy.- Hide quoted text -

- Show quoted text -
Well that answers my questions... thnx a lot willy.
amir

Mar 8 '07 #6

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

Similar topics

0
by: John Yasaitis | last post by:
I seem to have replication set up correctly to only replicate one database named vmail.* Except when I try to update a table in vmail.* the changes do not replicate to the slave. Authentication...
4
by: Flapper | last post by:
Help please, Have a situation when converting from Oracle SP's to SQL SP's. The old oracle cursor was roughly as follows CURSOR cur_rsStock IS select * from (select StockRowId, CategoryId
0
by: Rajesh Kapur | last post by:
I have a master slave configuration on linux machines running MySQL 4.0.21. Once every hour, a process deletes about 9000 rows and re-inserts fresh data on the master. The master process completes...
1
by: Stuart | last post by:
The following code works well in IE5 and Netscape 7, apparently my page is not working in Netscape 4.6 and it has been suggested that i need a third option dwellig around the document.layers...
35
by: Sunil | last post by:
Hi all, I am using gcc compiler in linux.I compiled a small program int main() { printf("char : %d\n",sizeof(char)); printf("unsigned char : ...
3
by: Jo Schambach | last post by:
I am trying to write a GUI with tkinter that displays the stdout from a regular C/C++ program in a text widget. The idea i was trying to use was as follows: 1) use "popen" to execute the C/C++...
0
by: Sean Quilty | last post by:
Help! We are getting the following errors on a slave server: 060304 7:42:03 Error reading packet from server: Could not find first log (server_errno=65535) 060304 7:43:03 Slave: Failed...
33
by: Snis Pilbor | last post by:
With the "as if" rule in play, doesn't that effectively render the "register" keyword completely useless? Example: I make a silly compiler which creates code that goes out of its way to take a...
3
by: Jeremy Sanders | last post by:
Hi - I have some code which works under linux. It starts a remote python process using subprocess and communicates to it via a pipe created by os.pipe. As far as I understand, child processes...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.