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 :  

Output :  

 

Output : Explanation : Actually here we are printing the ASCII smbol of 3 . Which gives a love symbol. you can also print directly by writing the following code.  Console.Write(Convert.ToChar(3))  or  Console.Write(ChrW(3))  

  Sample Output :

Lets suppose Database Name is MYDB and TABLE1, TABLE2, TABLE3 are tables in MYDB databaseSql query to retrieve all the column names in a table : select COLUMN_NAME from MYDB.INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = ‘TABLE1’Sql query to get common Columns in two tables in Sql Server : select COLUMN_NAME from MYDB.INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = ‘TABLE1’ intersect select COLUMN_NAME from MYDB.INFORMATION_SCHEMA.COLUMNS where TABLE_NAME… Continue Reading Sql query to get common Columns in multiple tables in Sql Server

Sample Output :