Solved

Run a EXE-file from a CDlg app.

Posted on 1998-10-19
3
165 Views
Last Modified: 2013-11-20
How do I run an EXE file like Notepad from an CDlg App, I would like the code. Thanx....
0
Comment
Question by:joakimf
3 Comments
 
LVL 1

Accepted Solution

by:
Bridge earned 50 total points
ID: 1323549
quick and simple;
             system( "notepad" );

for a more elegent solution look for _exec
0
 
LVL 1

Author Comment

by:joakimf
ID: 1323550
Thank you...
0
 
LVL 3

Expert Comment

by:Norbert
ID: 1323551
Bridge has a simple solution but
ShellExecute or ShellExecuteEx will also work and
your dialog app has not to wait until the system call returns
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now