Click here to Skip to main content
11,927,190 members (53,302 online)
Click here to Skip to main content
Add your own
alternative version



Opening the Internet Browser Programmatically

, 15 Aug 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
I use this one in C++ (has the advantage that you can use your preferred browser ;-):ShellExecute (NULL, NULL, _T(""), NULL, NULL, SW_SHOWNORMAL);

I use this one in C++ (has the advantage that you can use your preferred browser Wink | ;-) :

ShellExecute (NULL, NULL, _T(""),


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
Germany Germany
No Biography provided

You may also be interested in...

Comments and Discussions

General"system("explorer");" also opens ... Pin
Caner Korkmaz15-Aug-11 23:42
memberCaner Korkmaz15-Aug-11 23:42 
also opens your preferred browser Smile | :)
GeneralRe: Thanks, it works very well Pin
namco008817-Aug-11 23:10
membernamco008817-Aug-11 23:10 
GeneralRe: In my Windows XP, the explorer.exe just opens up the Interne... Pin
shu22-Aug-11 23:51
membershu22-Aug-11 23:51 
GeneralReason for my vote of 4 The best way... Pin
Maximilien15-Aug-11 10:35
memberMaximilien15-Aug-11 10:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.151126.1 | Last Updated 15 Aug 2011
Article Copyright 2011 by kbo-mvs
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid