m-jansen
asked on
Start Notepad on another computer....
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.
Is there a client program on the machine you want to run notepad on? I'm not sure I understand your question.
ASKER
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.
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.
You can use Process::Start(); in System::Diagnostics
e.g.,:
using namespace System::Diagnostics;
...
Process::Start("notepad.ex e");
e.g.,:
using namespace System::Diagnostics;
...
Process::Start("notepad.ex
or just do: System::Diagnostics::Proce ss::Start( "notepad.e xe");
Either way the .NET way is much easier.
Either way the .NET way is much easier.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.