Develop Simple Web Browser Using C#

This tutorial will explain, how to develop a Web browser which Navigate URL in the Text Box using C#(Sharp). Text Box mentioned here is the address bar of your Web Browser. PreviousIy I have written some article about how to develop a Simple Web Browser and how to add some features to it using C# (Sharp), you can refer that for more details. You are recommended to use Microsoft Visual Studio. We have screen shots here and have a look at it, same URL but two different blog contents, doesn’t it look annoying? When you execute the Bowser, it automatically loads Hellboundbloggers.com content and after I click on Home Button, browser loads tekkieblog content. The issue here is, it will not display the URL of tekkieblog.com in the Adress bar. When I again click on back button it loads Hellboundbloggers.com content with HBB URL in the Adress bar. There is no change in the URL because the Adress bar does not Navigate the URL and it only displays the content. So, to display appropriate URL in the Address bar while Navigating, we have to fire two events namely Text Changed Event of the Text Box and the Navigated Event of the Web Browser Control.

Use C# and Excel Develop Report – Generate Chart

Some Web projects use Excel as report solution. Create Excel file on server-side and then send to client-side to print. Excel is used widely and Microsoft provides perfect interface for operating Excel by using C#. Although, ZedGraph and other commercial report generating tools also have good charts, people can’t ignore Microsoft, the biggest brand in this area.

So, this article is going to introduce how to use C# to call Excel for creating chart and some methods of chart controls.

In the last article (Operate Chart), we use predefined Excel file to change some value in the chart to create chart. Here we will show you how to generate chart from defined data information.

First, add Excel reference and declare Excel objects which would be used.

  Excel.Application ThisApplication = null;
  Excel.Workbooks m_objBooks = null;
  Excel._Workbook ThisWorkbook = null;
  Excel.Worksheet xlSheet = null;

Continue reading