In this post we will see, generating a Financial Year string based on the given date. I have given code in C#.Net and VB.Net. C#.Net Method to Get Financial Year of a given Date :     /// <summary>     /// Method to Get Financial Year of a given Date    … Continue Reading Get Financial Year of a given Date in C#.Net / VB.Net

In this post, here is the VB.Net code to count the occurrences of a particular string in a another given string . Suppose there is a case  where we may want to check whether the string contains particular substring or not. And we may want to count the occurrences of… Continue Reading VB.Net Code to Count occurrences of String in Another String

VB.Net Code to get Reverse of a Number In this post, here is the VB.Net code to get the reverse of a number. You can also use this method while checking whether the number is Palindrome.If the input number and the reversed input number are same, then the number is… Continue Reading VB.Net Code to get reverse of a Number

In this post, here is the VB.Net code to count the occurrences of a particular character in a given string.Suppose there is a case  where we may want to check whether the string contains particular character or not. And we may want to count the occurrences of the character, in… Continue Reading Count the occurrences of a character in a string in VB.NET

While working  VB.Net application(added COM DLL’s references) on 64-bit Windows7 system , i came across a runtime exception like Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F60090} failed due to the following error: 80040154. How i handled this error: -> I just removed the References and added once again.… Continue Reading COM Exception, failed due to the following error: 80040154.

In this article we will see an example of sending SMS from our winforms C#.Net or VB.Net desktop Application using HTTP API  and tracking the status of SMS . Below is the screen shot of Application In this example i have used the HTTP API of www.smsonline.co.in . In order… Continue Reading Sending SMS using HTTP API in C#.Net / VB.Net Winforms Application

# Bind Data to Datagridview in C#.Net, VB.NET Windows Application  # Display/Fill/Populate Data in DataGridView in C#.Net, VB.NET Windows Application # Bind data to DataGridView in Windows Forms in C#.Net and VB.Net In this article i am going to explain about Binding Data to a DataGridView in C#.Net and VB.Net… Continue Reading Working with DataGridView in C#.Net and VB.Net windows forms application

In this post we will see the usage of font-dialog and changing the font style of textbox in our c#.net or vb.net windows application. for this i am designing the form as shown in the image below. In this example we are using a font dialog box and showing the… Continue Reading USING FONT-DIALOG AND CHANGING TEXTBOX FONT STYLE IN C#.Net and VB.Net

In this post we will see the small example of working with multiple panels in windows c# applications. We will also see how to make the panels visible or invisible, change the location of a panel control programmatically at runtime . for this, I am designing the form as shown… Continue Reading Working with Multiple Panels in C#.Net or VB.NET Windows Application