How to acess Website from windows Forms
-
Hi friends.. I have designed one windows application with one button control on it..I want to open one new Internet browser window with some url on click of that button.. regards, Rahul
To open in IE
System.Diagnostics.Process.Start("iexplore","http://www.codeproject.com/");
To open in the default browser useSystem.Diagnostics.Process.Start("http://www.codeproject.com/");
Last modified: 59mins after originally posted --
-
To open in IE
System.Diagnostics.Process.Start("iexplore","http://www.codeproject.com/");
To open in the default browser useSystem.Diagnostics.Process.Start("http://www.codeproject.com/");
Last modified: 59mins after originally posted --
-
To open in IE
System.Diagnostics.Process.Start("iexplore","http://www.codeproject.com/");
To open in the default browser useSystem.Diagnostics.Process.Start("http://www.codeproject.com/");
Last modified: 59mins after originally posted --
We need to provided the full path of the IEXPLORER.EXE as 1st parameter. like System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE", @"http://www.yahoo.com");
Manoj Never Gives up
-
We need to provided the full path of the IEXPLORER.EXE as 1st parameter. like System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE", @"http://www.yahoo.com");
Manoj Never Gives up
Why do you need to provide it? Just using
System.Diagnostics.Process.Start("http://www.codeproject.com/");
will open it in the default browser.