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. How Can I call another application from my program?

How Can I call another application from my program?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++helptutorial
6 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.
  • E Offline
    E Offline
    elapid
    wrote on last edited by
    #1

    Could someone please explain to me how to call a different program within my program? My scheduler keeps calling a program every (let's say) 60 mins. However I do not know how to do that in my program please help, thank you Elapid For The MFC

    T 2 2 Replies Last reply
    0
    • E elapid

      Could someone please explain to me how to call a different program within my program? My scheduler keeps calling a program every (let's say) 60 mins. However I do not know how to do that in my program please help, thank you Elapid For The MFC

      T Offline
      T Offline
      Tom Wright
      wrote on last edited by
      #2

      Take a look at CreateProcess. Tom Wright tawright915@yahoo.com

      E 1 Reply Last reply
      0
      • T Tom Wright

        Take a look at CreateProcess. Tom Wright tawright915@yahoo.com

        E Offline
        E Offline
        elapid
        wrote on last edited by
        #3

        Could you pls tell me where to look for that CreateProcess? thanks Elapid For The Win

        E A 2 Replies Last reply
        0
        • E elapid

          Could you pls tell me where to look for that CreateProcess? thanks Elapid For The Win

          E Offline
          E Offline
          elapid
          wrote on last edited by
          #4

          <--Dummy Elapid For The Win

          1 Reply Last reply
          0
          • E elapid

            Could you pls tell me where to look for that CreateProcess? thanks Elapid For The Win

            A Offline
            A Offline
            Anthony_Yio
            wrote on last edited by
            #5

            A nice intro article by Nish on ShellExec and CreateProcess. http://www.codeproject.com/system/newbiespawn.asp[^] Sonork 100.41263:Anthony_Yio

            1 Reply Last reply
            0
            • E elapid

              Could someone please explain to me how to call a different program within my program? My scheduler keeps calling a program every (let's say) 60 mins. However I do not know how to do that in my program please help, thank you Elapid For The MFC

              2 Offline
              2 Offline
              224917
              wrote on last edited by
              #6

              ShellExecute(NULL,"open","notepad.exe", NULL,NULL,SW_SHOW );


              suhredayan
              There is no spoon.

              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