Free Source Code for C#.NET, ADO.NET, ASP.NET, & Web Service Applications!
homewhat's new  |  site map  |  about us  |  disclaimer  
cSharp4Newbies.com  
C# Source Code  
+ C#.NET Programming  
+ ADO.NET using C#  
+ ASP.NET using C#  
+ C# Web Services  
   
Articles  
+ C# For Beginners  
+ An Introduction to C#  
+ Objects & Classes in C#  
+ Using ADO.NET   
+ ASP.NET Templates  
   
C#.NET Tutorials  
C# .NET Programming  
+ C# Station Tutorial  
+ ASP.NET 1.0 Tutorials  
+ C# Web Services  
+ ASP.NET 2.0 Tutorials  
+ Web Service Tutorial  
+ C# Station ADO.NET  
   
Google Web Search  
 
   
+ Other .NET Resources  
   
+ Link To Us  
   

Web Browser in C# .NET

Download Source Code - 125 Kb 

The Windows application above will allow you to view a web page and the HTML source at the same time.

The application consists of an IE Web Browser control (top section) and a multi-line text box control (bottom section). You enter or select a URL using the combo box control and then select the "Go" button. The Browser control will navigate to the URL and display the web page. When you select the "Get Source" button, the bottom section of the Windows application displays the HTML source for the web page.

The Microsoft Web Browser control adds browsing, document, viewing, and downloading capabilities to your applications. Parsing and rendering of HTML documents in the browser control is handled by the MSHTML component. Before you can use the Browser control in a Windows application, you must 
add a reference to the “Microsoft HTML Object Library” (mshtml) to get to the interfaces and classes.

You can get the full source code for the application by selecting the
Download Source Code link.

 
 

 
homewhat's new  | site map  | about us  | disclaimer  © Copyright 2006-2008. cSharp4Newbies.com
Free Stuff :  wallpapers, screensavers, templates, cliparts, emoticons, backgrounds
Design downloaded from FreeWebTemplates.com
Free web design, web templates, web layouts, and website resources!