Solved

Start Notepad on another computer....

Posted on 2006-11-16
6
145 Views
Last Modified: 2010-08-05
Hello. I wonder if there is a way to start programs on a different machine in a local network from another computer without having a server on the machine I want to start the program. Etc.: Let's say I want to start Notepad.exe from anonther computer.
0
Comment
Question by:m-jansen
  • 3
6 Comments
 
LVL 8

Expert Comment

by:YoungBonzi
ID: 17966648
Is there a client program on the machine you want to run notepad on? I'm not sure I understand your question.
0
 

Author Comment

by:m-jansen
ID: 17967294
I actually found this program:
http://www.codeguru.com/Cpp/I-N/internet/generalinternet/article.php/c6179/#more
to do what I was looking for. But I was wondering if there was some inbuilt functionality in VC to do this.
0
 
LVL 8

Expert Comment

by:YoungBonzi
ID: 17967612
You can use Process::Start(); in System::Diagnostics


e.g.,:

using namespace System::Diagnostics;

...

Process::Start("notepad.exe");
0
 
LVL 8

Expert Comment

by:YoungBonzi
ID: 17967663
or just do: System::Diagnostics::Process::Start("notepad.exe");

Either way the .NET way is much easier.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 18152157
PAQd, 125 points refunded.

DarthMod
CS Moderator
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question