Solved

Start Notepad on another computer....

Posted on 2006-11-16
6
142 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now