In this article we will see a example for extracting / reading / accessing the emails from MS Outlook using C#.Net. We will see a sample application, which read mail from outlook and display its contents in our application. The screenshot of sample application is shown below Before starting the coding,… Continue Reading Reading emails from MS Outlook using C#.Net

Author : Rajesh Description: In this article we will see a simple example to interchange the items between two list boxes. The screenshot of the application is shown in the image below. The C# code in the code behind file is like this using System; using System.Windows.Forms; namespace ListBox {     public partial class From_listbox : Form     {         public From_listbox()… Continue Reading Moving Items between Two List Boxes in windows C#

In this article we will see how to compile a C Program with Visual Studio Command Prompt. Here i am using Visual studio 2010. For opening Visual Studio command prompt, All Programs -> Microsoft visual Studio 2010 -> Visual Studio Tools -> Visual Studio command prompt   After opening command… Continue Reading Compiling a C program with Visual Studio Command Prompt

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

Creating Add-on File for SAP B1 Creating an Add-On Registration Data (ARD) file in SAP B1 This article guides you the process of creating or building an Add-on Registration Data file using B1DE. The extension of Add-on Registration Data is .ard. Even if your add-on developed using C#.Net or VB.Net, the .ard file… Continue Reading Add-on Registration Data (.ARD) FILE CREATION PROCESS THROUGH B1DE – SAP BUSINESS ONE(SAP B1)

In this article we will see a small example of using constants in vb.net . constants are declared with a keyword const . Example :      ConstPI As Double = 3.14    ConstmyStr As String= “*** www.ProgrammingPosts.blogspot.com ***”   The program below is to find the area and perimeter of… Continue Reading Declaring constants in VB.Net

# 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

SIMPLE REGISTRATION FORM IN ASP.NET WITH C#.NET and VB.NET In this article we will see a simple registration form in asp.net with all client side validations. I am designing a registration form with fields like first name, last name, email, etc,.. and inserting the data into database using insert sql… Continue Reading Simple Registration form in Asp.Net with validations

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

In this post i want to explain about getting the file path or folder path in the console without typing the full path. While working with console applications sometimes there arises a need of giving the file path or directory path as input. To type the exact location of file… Continue Reading Getting the file / folder path in console

In this post we will see a VB.Net Program to retrieve list of file names in a given folder/directory.  

Sample Output : 

In this post we will see a VB.Net Program to retrieve list of file names with full path in a given folder/directory.  

Sample Output : 

 

Sample Output :

 

Sample Output 1: Sample Output 2:

 

Sample output 1 : Sample output 2 : Sample output 3 :