Thread: running an application

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    9

    running an application

    hi there good people
    i'm new to programming with MFC!?!?
    now, i have this dialog, and i wanna clik on one of the buttons and, that should start running a different application.
    How do i achieve that????
    thanks in advance for your time
    1976

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    I don't use MFC, but I think when you click on a button you end up in a fuction called something like OnClick() for the button. In this routine, call CreateProcess() to run your second application. Look it up in the help.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 09-18-2005, 09:06 PM
  2. Changing focus in an MFC Application
    By rangalo in forum Windows Programming
    Replies: 2
    Last Post: 06-20-2005, 06:21 AM
  3. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  4. Windows Application Handles
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 06-15-2002, 05:09 PM
  5. Application running as a process in Win2k?????
    By J_Bravo in forum Windows Programming
    Replies: 8
    Last Post: 05-07-2002, 04:02 AM