Click here to Skip to main content
11,573,432 members (60,281 online)
Click here to Skip to main content

Opening the Internet Browser Programmatically

, 15 Aug 2011 CPOL 3.4K
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("http://www.codeproject.com"), 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("http://www.codeproject.com"),
    NULL, NULL, SW_SHOWNORMAL);

License

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

Share

About the Author

kbo-mvs
Web Developer
Germany Germany
No Biography provided

You may also be interested in...

Comments and Discussions

 
General"system("explorer http://www.codeproject.com");" also opens ... Pin
Caner Korkmaz15-Aug-11 22:42
memberCaner Korkmaz15-Aug-11 22:42 
GeneralRe: Thanks, it works very well Pin
namco008817-Aug-11 22:10
membernamco008817-Aug-11 22:10 
GeneralRe: In my Windows XP, the explorer.exe just opens up the Interne... Pin
shu22-Aug-11 22:51
membershu22-Aug-11 22:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web04 | 2.8.150624.2 | Last Updated 15 Aug 2011
Article Copyright 2011 by kbo-mvs
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid