how to open IExplorer

i have used this code and an error has occured C:\Documents and Settings\sajid\Desktop\web browser\Form1.cs(102): The type or namespace name 'webbrowser' could not be found (are you missing a using directive or an assembly reference?)

tell me how to remove it

[274 byte] By [sadafsagheer] at [2007-12-25]
# 1
can you post the code that is having the problem? Do you have "webbrowser" object defined in your project?
ahmedilyas at 2007-8-31 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 2

The WebBrowser class comes under the System.Windows.Forms namespace. Just insert the using System.Windows.Forms directives on top of the file, if it isn't already there.

If you're trying to open Internet Explorer through C#, try this:

System.Diagnostics.Process.Start("IExplore", "http://www.microsoft.com");

Hope that helps. :)

AshishDerhgawen at 2007-8-31 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...