CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Posts
    60

    Remote Terminate/Run exe

    Hello.

    I want to start running an exe on a remote PC. I found a way to do that with sa.exe (ITaskScheduler interface). Is there a different way? more direct?
    (without having a "deamon" server on the remote PC that listens to messages and runs the desired exe).

    How do I terminate an exe that runs on a remote PC?
    (I know how to do that through the task manager in a local PC - with PSAPI.DLL).

  2. #2
    Join Date
    Nov 2002
    Location
    Israel
    Posts
    182
    DCOM . I don't know, maybe, that's exactly the "deamon" you so afraid. I'd like to write an object, register it on the second computer and communicate with it. But what the "deamon" must listen - I don't understand .
    Good luck

  3. #3
    Join Date
    Jan 2003
    Posts
    11
    The whole program is allready built for you Try to download PCtools or ptools. But if you want to program it by yourself try to do someting with NETBios server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured