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

Start a process on a remote server

sandydee
Hi everyone,

I am not very confortable with C# programming and I would need some help.
I would like to launch a process on a remote server.
I can do it locally as following, but how can I specify the server on which the process is and should be executed on?

Here is what I do (locally):

pInfo.FileName = @"C:\applications\my_app.exe";
ProcessStartInfo pInfo = new ProcessStartInfo();
Process p = new Process();
p.StartInfo = pInfo;
p.Start();
p.WaitForInputIdle();

Thanks for your help.
Apr 23 '07 #1
2 2451
channaJ
67
Hi everyone,

I am not very confortable with C# programming and I would need some help.
I would like to launch a process on a remote server.
I can do it locally as following, but how can I specify the server on which the process is and should be executed on?

Here is what I do (locally):

pInfo.FileName = @"C:\applications\my_app.exe";
ProcessStartInfo pInfo = new ProcessStartInfo();
Process p = new Process();
p.StartInfo = pInfo;
p.Start();
p.WaitForInputIdle();

Thanks for your help.
This link may be helpfull
http://www.codeproject.com/useritems...controller.asp
Apr 24 '07 #2
This link may be helpfull
http://www.codeproject.com/useritems...controller.asp
Yes it is :-)
thank you !!!!!!!
Apr 24 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Dan Pavel | last post by:
Hi, I am starting a new process (Notepad) on a remote machine but it is not visible. When I start it on my machine it is visible. What I am doing wrong ? private void run_notepad(string machina)...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
4
by: Steven Brooks | last post by:
Hi guys A have an ASPX page (a main menu) and from it I need to launch existing exes on the local PC that has invoked the page from IE. I'm thinking that I would have to do this via JavaScript...
16
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
1
by: thecameleon06 | last post by:
I am working on an ASP.Net project which for some historico-technical reasons isn't run locally but directly on the web server. It works ok, but whereas I was at some point after struggling for...
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...
3
by: Billy Bob | last post by:
Hello In C# how can i start a remote process such as someapp.exe on a remote PC? I know the remote PC's name, but how do I start the app on that PC? Thanks ..
4
by: =?Utf-8?B?VkIgSm9ubmll?= | last post by:
I am at my witless end here, please help! I have an ASP.Net aspx web page, hosted on Windows Server 2003, that receives a query string with the path to an autocad drawing file selected from a...
5
by: sjoshi23 | last post by:
Hello I'm trying to start a remote desktop session using Process.Start but it keeps saying "File not found". The same cmd thru DOS window works fine. I used: C:\\WINDOWS\\system32\\mstsc.exe...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...

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.