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 / C++ / MFC
  4. Invoking an executable program from a remote machine

Invoking an executable program from a remote machine

Scheduled Pinned Locked Moved C / C++ / MFC
questiondatabasedesignhardwarehelp
4 Posts 4 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi all, I'm working with a database application in which the data base is located in a remote machine(Machine 1).The application which makes use of that data base is running on a remote machine(Machine 2).Both computers are running under Windows 2000 and are connected in LAN.I would like to clear my database(The database located in machine 1) once in a month by running an exe in that machine.How can i invoke another executable program(program for backing up the data base) which is located in machine 2 when the data base clearing program in machine 1 is just started.Can any one help me?. With regards. Shibu K.V. Senior Research Associate. VLSI ASIC Hardware Design Group Electronics R&D Centre,Trivandrum India

    P O 2 Replies Last reply
    0
    • L Lost User

      Hi all, I'm working with a database application in which the data base is located in a remote machine(Machine 1).The application which makes use of that data base is running on a remote machine(Machine 2).Both computers are running under Windows 2000 and are connected in LAN.I would like to clear my database(The database located in machine 1) once in a month by running an exe in that machine.How can i invoke another executable program(program for backing up the data base) which is located in machine 2 when the data base clearing program in machine 1 is just started.Can any one help me?. With regards. Shibu K.V. Senior Research Associate. VLSI ASIC Hardware Design Group Electronics R&D Centre,Trivandrum India

      P Offline
      P Offline
      Prem Kumar
      wrote on last edited by
      #2

      There is no existing infrastructure in place currently to invoke a program at the remote machine. Wait there is one way, Use the Task Schedular API. But make sure that the remote exe is scheduled to a future time and that it does not have a UI. Or you could always use a Service and keep listening on a specified port.

      1 Reply Last reply
      0
      • L Lost User

        Hi all, I'm working with a database application in which the data base is located in a remote machine(Machine 1).The application which makes use of that data base is running on a remote machine(Machine 2).Both computers are running under Windows 2000 and are connected in LAN.I would like to clear my database(The database located in machine 1) once in a month by running an exe in that machine.How can i invoke another executable program(program for backing up the data base) which is located in machine 2 when the data base clearing program in machine 1 is just started.Can any one help me?. With regards. Shibu K.V. Senior Research Associate. VLSI ASIC Hardware Design Group Electronics R&D Centre,Trivandrum India

        O Offline
        O Offline
        Ollie
        wrote on last edited by
        #3

        Most database applications have ablility to schedule tasks and jobs, so why write an application to do it?

        R 1 Reply Last reply
        0
        • O Ollie

          Most database applications have ablility to schedule tasks and jobs, so why write an application to do it?

          R Offline
          R Offline
          Renjith Ramachandran
          wrote on last edited by
          #4

          use the Sheduletask API or write a service Renjith-CPian.

          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