Solved

Start Notepad on another computer....

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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