Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Opening the Internet Browser Programmatically

, 15 Aug 2011
Rate this:
Please Sign up or sign in to vote.
You're incorrect. Explorer is Windows Explorer, not Internet Explorer. Try this:System.Diagnostics.Process.Start("explorer");then this:System.Diagnostics.Process.Start("iexplore.exe", "http://www.codeproject.com");and this:System.Diagnostics.Process.Start("winword.exe",...

You're incorrect. Explorer is Windows Explorer, not Internet Explorer. Try this:

System.Diagnostics.Process.Start("explorer");

then this:

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

and this:

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

So, just because you got to the intended web site doesn't mean you used the right application.

License

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

About the Author

Kevin Marois
President Marois Consulting
United States United States
No Biography provided

Comments and Discussions

 
GeneralRe: No dude, you should not use iexplore. First, it is a silly, ... PinmemberWolfgang_Baron15-Oct-11 6:40 
GeneralRe: This opens the page with default browser System.Diagnostics.... PinmemberDNikolov23-Aug-11 5:10 
Generalyea am with you bro as you give much info btn explorer.exe a... PinmemberAlimiyawo11-Sep-11 9:59 
GeneralI said Internet Browser -> Not Internet Explorer. When you t... PinmemberCaner Korkmaz15-Aug-11 22:41 
GeneralRe: No dude, I'm sure Kevin is right. You should use <code>iexpl... Pinmvpthatraja17-Aug-11 21:35 

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 | Mobile
Web01 | 2.8.140721.1 | Last Updated 15 Aug 2011
Article Copyright 2011 by Kevin Marois
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid