Solved

Run a EXE-file from a CDlg app.

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

18 Experts available now in Live!

Get 1:1 Help Now