running an application

This is a discussion on running an application within the Windows Programming forums, part of the Platform Specific Boards category; hi there good people i'm new to programming with MFC!?!? now, i have this dialog, and i wanna clik on ...

  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,831
    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, 10:06 PM
  2. Changing focus in an MFC Application
    By rangalo in forum Windows Programming
    Replies: 2
    Last Post: 06-20-2005, 07: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, 06:09 PM
  5. Application running as a process in Win2k?????
    By J_Bravo in forum Windows Programming
    Replies: 8
    Last Post: 05-07-2002, 05:02 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21