Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remoting

Remoting

Scheduled Pinned Locked Moved C#
tutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Saaaaz
    wrote on last edited by
    #1

    Can someone please tell me: How to run an application on a remote computer (on the same LAN)???? // This, I think will run my notepad on my machine Process.Start("notepad", "C:\\Windows\\notepad.exe"); // This, I think will run that remote machine's notepad on my machine. Process.Start("notepad", "\\\\remote-machine-name\\C$\\Windows\\notepad.exe"); // But how to run that remote machine's notepad on that remote machine.... ???? Thanks for your time ..

    O 1 Reply Last reply
    0
    • S Saaaaz

      Can someone please tell me: How to run an application on a remote computer (on the same LAN)???? // This, I think will run my notepad on my machine Process.Start("notepad", "C:\\Windows\\notepad.exe"); // This, I think will run that remote machine's notepad on my machine. Process.Start("notepad", "\\\\remote-machine-name\\C$\\Windows\\notepad.exe"); // But how to run that remote machine's notepad on that remote machine.... ???? Thanks for your time ..

      O Offline
      O Offline
      Obaid ur Rehman
      wrote on last edited by
      #2

      The first thing that comes to my mind, if you want to do this in C# is to make a client and a server. The server being at the remote end which executes processes as instructed by the clients. Or you could use PsExec.

      S 1 Reply Last reply
      0
      • O Obaid ur Rehman

        The first thing that comes to my mind, if you want to do this in C# is to make a client and a server. The server being at the remote end which executes processes as instructed by the clients. Or you could use PsExec.

        S Offline
        S Offline
        Saaaaz
        wrote on last edited by
        #3

        Thanks for your reply. You are right. I am basically building client server applications. Now, what I want to do is that: 1) Execute the server on my machine. 2) Through that server, initialize/execute the clients(.exe) on the client machines. 3) Clients will then start communication with the server. I actually need help with that 2nd step. PsExec looks to be interesting, and I will play with it tomorrow and see if that will serve the purpose. But i guess, in this case, I will have to use PsExec instead of my server to initialize the client applications. Thanks. Sarfraz

        S 1 Reply Last reply
        0
        • S Saaaaz

          Thanks for your reply. You are right. I am basically building client server applications. Now, what I want to do is that: 1) Execute the server on my machine. 2) Through that server, initialize/execute the clients(.exe) on the client machines. 3) Clients will then start communication with the server. I actually need help with that 2nd step. PsExec looks to be interesting, and I will play with it tomorrow and see if that will serve the purpose. But i guess, in this case, I will have to use PsExec instead of my server to initialize the client applications. Thanks. Sarfraz

          S Offline
          S Offline
          Saaaaz
          wrote on last edited by
          #4

          Anyone who could guide me a little please..... Thanks.... Sarfraz.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups