Solved

Run a EXE-file from a CDlg app.

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
not able to insert into temp table 68 169
sum28 challenge 31 115
matchUp  challenge 9 115
I could not set window to top 4 20
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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