• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

Launching External Applications

How would I go about launching external applications from within my VC applications? (something like notepad or maybe even the default browser). I didn't see any type of class to handle that sort of thing in the MSDN. Thnx
0
Daikyu
Asked:
Daikyu
1 Solution
 
psdavisCommented:
Probably the simplest function to use will be ShellExecute in the WinAPI.

ShellExecute( this->GetSafeHwnd( ), "open", strProgram, NULL, strDirectory, SW_SHOWMINIMIZED );

Phillip

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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