Thread: Stopping a program from running?

  1. #1
    Registered User Daniel's Avatar
    Join Date
    Jan 2003
    Posts
    47

    Stopping a program from running?

    Hi,

    Using MFC is there a way to stop a program from opening up and running?

    Thanks for your help,
    Daniel

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is to terminate program as soon as it starts. There are many ways include posting WM_CLOSE().

    Kuphryn

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

    Re: Stopping a program from running?

    Originally posted by Daniel
    Hi,

    Using MFC is there a way to stop a program from opening up and running?

    Thanks for your help,
    Daniel
    If its a specific executable, then find and delete it......more info please

  4. #4
    Registered User Daniel's Avatar
    Join Date
    Jan 2003
    Posts
    47
    I am writting a Web Browser and I am trying to add a pop up blocker function to it?

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    As the popus will be generated by your browser itself, surely you can control this?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program running long
    By smarta_982002 in forum Windows Programming
    Replies: 3
    Last Post: 03-27-2008, 05:24 AM
  2. Running my program in the background
    By shoobsie in forum Windows Programming
    Replies: 4
    Last Post: 10-09-2005, 02:38 AM
  3. Replies: 3
    Last Post: 09-05-2005, 08:57 AM
  4. Why is my program running away?
    By badkitty in forum C++ Programming
    Replies: 4
    Last Post: 09-19-2001, 04:27 PM
  5. Running program
    By muffin in forum C Programming
    Replies: 5
    Last Post: 08-30-2001, 10:57 AM