Click here to Skip to main content
Click here to Skip to main content
Go to top

Opening the Internet Browser Programmatically

, 15 Aug 2011
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 Smile | :) . 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# Smile | :)

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

Comments and Discussions

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