Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Run a EXE-file from a CDlg app.

How do I run an EXE file like Notepad from an CDlg App, I would like the code. Thanx....
0
joakimf
Asked:
joakimf
1 Solution
 
BridgeCommented:
quick and simple;
             system( "notepad" );

for a more elegent solution look for _exec
0
 
joakimfAuthor Commented:
Thank you...
0
 
NorbertCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now