Solved

Run a EXE-file from a CDlg app.

Posted on 1998-10-19
3
166 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

778 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