tags:

views:

81

answers:

5

I want to use HTML pages in a Windows application using C#.

Can anyone help me?

+2  A: 

Have you used the WebBrowser control?

Daniel A. White
+7  A: 

Look into the WebBrowser control.

nasufara
@Peter Mortensen: in this answer, you have a hyperlink pointing on a code sample from microsoft msdn. Is that not enough?
enguerran
A: 

any sample codes please...

Santhosh
You shouldn't answer your own question, but edit your question instead. Though you might want to be a bit more specific than "any sample codes".
ChrisF
+2  A: 

http://www.switchonthecode.com/tutorials/csharp-snippet-tutorial-the-web-browser-control

This basically puts a browser inside of your app, which is useful.

Maybe you only want the content of the html from a page. That would be WebClient

Maestro1024
+1  A: 

Drag a WebBrowser control onto your form. Then you can set the HTML like this:

webBrowser1.DocumentText = "<html><body>Hello, World!</body></html>";
RedFilter