Openning a web site using Default Internet Explorer
-
Hello, I am aware of that I can open a website using the following snippet using MS IE, System.Diagnostics.Process.Start("iexplore", "http://www.google.com"); But I dont want to specify Internet Explorer, I want to open the link using any installed default website explorer of the user. Would anyone please give me an idea. Thanks
-
Hello, I am aware of that I can open a website using the following snippet using MS IE, System.Diagnostics.Process.Start("iexplore", "http://www.google.com"); But I dont want to specify Internet Explorer, I want to open the link using any installed default website explorer of the user. Would anyone please give me an idea. Thanks
In .NET 2.0 you can do this.... Help.ShowHelp(this, "http://www.google.com");
Steve Maier, MCSD MCAD MCTS
-
Hello, I am aware of that I can open a website using the following snippet using MS IE, System.Diagnostics.Process.Start("iexplore", "http://www.google.com"); But I dont want to specify Internet Explorer, I want to open the link using any installed default website explorer of the user. Would anyone please give me an idea. Thanks
Hello You can also do that in .Net 1.0 and 1.1 frameworks. Simply don't specify your application:
Process.Start("http://www.google.com.eg");
This way you are telling the "Windows Explorer" to open this "Document" -whether it's a website, pdf, image, etc...-. Windows Explorer doesn't open anything by itslef, rather it opens the default viewer associated with this type of "Document". In our case it will open the default web browser. BTW: I use FireFox. And it works!
Regards:rose:
-
Hello You can also do that in .Net 1.0 and 1.1 frameworks. Simply don't specify your application:
Process.Start("http://www.google.com.eg");
This way you are telling the "Windows Explorer" to open this "Document" -whether it's a website, pdf, image, etc...-. Windows Explorer doesn't open anything by itslef, rather it opens the default viewer associated with this type of "Document". In our case it will open the default web browser. BTW: I use FireFox. And it works!
Regards:rose: