In this blog we will learn Check Leap Year using VB.NET. In this blog we will check the provided year is leap year or not? Code for Check Leap Year using VB.NET [php] using System; namespace Program { class Program { static void Main(string[] args) { Console.WriteLine("Enter Year : "); int Year = int.Parse(Console.ReadLine()); if (((Year % 4 == 0)…

# Category: vb.net

## Program to Find LCM using VB.NET

In this blog we will learn Program to Find LCM using VB.NET. In this article I will explain how to find the Lowest Common Multiples of two numbers in a VB.NET. What is a LCM ? LCM Stands for Lowest Common Multiple of two numbers. Code for Find LCM of Two Numbers using VB.NET Imports System Module Program Sub Main(args…

## Program to create Pascal’s Triangle in vb.net

In this article we will learn Program to create Pascal’s Triangle in vb.net. Program to create Pascal’s Triangle in vb.net The rows of Pascal’s triangle are conventionally enumerated starting with row n=0 at the top (the 0th row). The entries in each row are numbered from the left beginning with k=0 and are usually staggered relative to the numbers in…

## How to find the largest digit of a number in VB.Net

In this program, You will learn How to find the largest digit of a number in VB.Net. Write this code for How to find the largest digit of a number in VB.Net? [php] Imports System Module Program Sub Main(args As String()) Dim n, r As Integer, digit As Integer = 0 Console.Write("Enter a number:") n = Convert.ToInt32(Console.ReadLine()) While n >…

## Add items in combobox windows form using VB.Net

In this article we will learn Add items in combobox windows form using VB.Net. In this blog we will see step by step Add items in combobox windows form using VB.Net Step 1. We will add one ComboBox, one textbox, one label and one button on windows form. Step 2. In this step we will change the text of label…

## Generate Barcode In ASP.NET using VB.NET

In this article we will learn with an example how to Generate Barcode In ASP.NET using VB.NET. In this blog, we will learn how to Generate Barcode In ASP.NET by entering numbers and alphabet letters in the textbox and clicking Generate button. Generate Barcode In ASP.NET using VB.NET Step 1. First we will need to download the Free Barcode Font…

## VB.NET Program to generate Fibonacci Triangle

In this blog we will see VB.NET Program to generate Fibonacci Triangle. In this program, we are getting input from the user and printing the fibonacci series for the given number of times. Let’s see the example for VB.NET Program to generate Fibonacci Triangle. Imports System Module Program Sub Main(args As String()) Dim i, c, n, j As Integer, a…

## VB.NET Program to swap two numbers without third variable

In this article we will learn VB.NET Program to swap two numbers without third variable. We can swap two numbers without using third variable. There are two common ways to swap two numbers without using third variable: Program 1: Using ∗ and / Let’s see a simple example VB.NET Program to swap two numbers without third variable Imports System Module…

## Armstrong Number in VB.NET

An Armstrong number is a number such that the sum of its digits raised to the third power is equal to the number itself. Armstrong Number in VB.NET In case of an Armstrong number of 3 digits, the sum of cubes of each digit is equal to the number itself. For example: 153 = 1*1*1 + 5*5*5 + 3*3*3 “153…

## Factorial program in VB.NET

Factorial Program in VB.NET: Factorial, in mathematics, the product of all positive integers less than or equal to a given positive integer and denoted by that integer and an exclamation point. Thus, factorial seven is written 7!, meaning 1 × 2 × 3 × 4 × 5 × 6 × 7. Factorial of n is the product of all positive…