.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> Windows Application >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Display WebPage In Windows Application using c#.net

Posted By:Mallikarjuna Chigicherla       Posted Date: August 04, 2010    Points: 25    Category: Windows Application    URL: http://www.dotnetspark.com  

This Article narrates how to display webpage in windows c#.net
 


 

Display Web Page in Windows Application Using C#.net:

------------------------------------------------------------------------------------------------------------

Abstract: In this article, I am going to explain Displaying Webpage in windows project by using visual studio.

 

Step By Step Procedure for Displaying Webpage in Windows Application by using c#.net:

 

Step1: Select New Project and Select Windows Forms Application and Name It by Webpage In Windows Form;

 

Step2: Drag One Text Box, One Button, One Web browser Control from Toolbox

 

         Set the properties for Controls:

        

          Control Name                    Id  

     

           TextBox                            txturl

            Button                              btnbrowse

     WebBrowser1      WebBrowser1

 



Add the following Code:

 

        private void btnbrowse_Click(object sender, EventArgs e)

        {

            webBrowser1.Navigate(txturl.Text);

        }

 

Output:



 Subscribe to Articles

     

Further Readings:

Responses
Author: andy         Company URL: http://www.dotnetspark.com
Posted Date: August 22, 2010

too easy and too noninformative.

Post Comment

You must Sign In To post reply

    Read also another Resources from the same Author

Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend