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 don't let run a program from another

How don't let run a program from another

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 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.
  • D Offline
    D Offline
    doctorpi
    wrote on last edited by
    #1

    It is possible to avoid that a program executes from our own application? An example: I'm running my app and I don't want to let notepad.exe to execute. Is this possible? Thanks in advance. Dr.Pi

    D T H 3 Replies Last reply
    0
    • D doctorpi

      It is possible to avoid that a program executes from our own application? An example: I'm running my app and I don't want to let notepad.exe to execute. Is this possible? Thanks in advance. Dr.Pi

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      doctorpi wrote:

      I'm running my app and I don't want to let notepad.exe to execute.

      Just out of curiosity, why?


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      1 Reply Last reply
      0
      • D doctorpi

        It is possible to avoid that a program executes from our own application? An example: I'm running my app and I don't want to let notepad.exe to execute. Is this possible? Thanks in advance. Dr.Pi

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        i'm not sure to understand well :

        doctorpi wrote:

        It is possible to avoid that a program executes from our own application?

        just don't call it ! why would it open otherwise ?


        [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

        1 Reply Last reply
        0
        • D doctorpi

          It is possible to avoid that a program executes from our own application? An example: I'm running my app and I don't want to let notepad.exe to execute. Is this possible? Thanks in advance. Dr.Pi

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Can you explain why you dont want?


          WhiteSky


          D 1 Reply Last reply
          0
          • H Hamid Taebi

            Can you explain why you dont want?


            WhiteSky


            D Offline
            D Offline
            doctorpi
            wrote on last edited by
            #5

            The question is that 2 programs are really time consuming exigents. The point is don't let the user execute both at the same time. Then , if one is running don't let run the other and viceversa. Dr.Pi

            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