Solved

Start Notepad on another computer....

Posted on 2006-11-16
6
148 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 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