[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Start Notepad on another computer....

Posted on 2006-11-16
6
Medium Priority
?
151 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
5 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month20 days, 7 hours left to enroll

867 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