Click here to Skip to main content
12,350,610 members (26,287 online)
Click here to Skip to main content
Add your own
alternative version

Stats

6.3K views
1 bookmarked
Posted

Opening the Internet Browser Programmatically

, 15 Aug 2011 CPOL
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)

Share

About the Author

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

You may also be interested in...

Comments and Discussions

 
GeneralRe: No dude, you should not use iexplore. First, it is a silly, ... Pin
Wolfgang_Baron15-Oct-11 6:40
memberWolfgang_Baron15-Oct-11 6:40 
GeneralRe: This opens the page with default browser System.Diagnostics.... Pin
DNikolov23-Aug-11 5:10
memberDNikolov23-Aug-11 5:10 
Generalyea am with you bro as you give much info btn explorer.exe a... Pin
Alimiyawo11-Sep-11 9:59
memberAlimiyawo11-Sep-11 9:59 
GeneralI said Internet Browser -> Not Internet Explorer. When you t... Pin
Caner Korkmaz15-Aug-11 22:41
memberCaner Korkmaz15-Aug-11 22:41 
GeneralRe: No dude, I'm sure Kevin is right. You should use <code>iexpl... Pin
thatraja17-Aug-11 21:35
mvpthatraja17-Aug-11 21: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
Web01 | 2.8.160621.1 | Last Updated 15 Aug 2011
Article Copyright 2011 by Kevin Marois
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid