Click here to Skip to main content
12,622,652 members (28,258 online)
Click here to Skip to main content
Add your own
alternative version

Stats

41.8K views
11 bookmarked
Posted

Opening the Internet Browser Programmatically

, 15 Aug 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
How to open the Internet browser from code.

If you type something like:

explorer http://www.codeproject.com
in an Explorer window or Command Prompt, then the Internet browser you use will open :). You can use it like this in code:
#include <stdlib.h>
main()
{
    system("explorer http://www.codeproject.com");
}

in C++. Or:

System.Diagnostics.Process.Start("explorer","http://www.codeproject.com");

in C# :)

License

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

Share

About the Author

Caner Korkmaz
Student
Turkey Turkey
No Biography provided

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 15 Aug 2011
Article Copyright 2011 by Caner Korkmaz
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid