Visual Basic .NET Tutorial

ColorDialog Tutorial in VB.NET

Submitted by donbermoy on
Color Dialog is one of the important features in VB.NET. It represents a common dialog box that displays available colors along with controls that enable the user to define custom colors. Now, let's start this Color Dialog tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

View Source of a Website

Submitted by donbermoy on
All Internet browsers allow users to view the HTML or other source code of any of the web pages they visit. For example, a user can view the code used to generate page source of website. Here in this tutorial, we will make a program that can view the source of a website. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

LinkLabel Control in VB.NET

Submitted by donbermoy on
We often see hyperlinks along the way in our websites, forms, etc. Same here in vb.net that we can also use this control to link to other websites through the use of linklabel. LinkLabel controls enable a user to hyperlink to a URL that points to either the Web or the local directory system. The idea is to put the email address or web URL into the Text property of a LinkLabel component, then when the label is clicked, the LinkClicked event is triggered.

Valid or Invalid Phone Number in VB.NET

Submitted by donbermoy on
Hi! This is my another tutorial in VB.NET entitled "Validating a Phone Number". We will just validate a phone number by using the System.Text.RegularExpressions namespace. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add one TextBox named TextBox1 which will be used to input the phone number.

Calculate Your Age Using VB.NET

Submitted by donbermoy on
We often forgot to know what other people's age is. So now, in this tutorial, we will make a program entitled "Calculating age using VB.NET" So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add one DateTimePicker named DateTimePicker1 to have input of our dates.

Adding Watermark to your PictureBox

Submitted by donbermoy on
Watermark is a faint picture or mark made in some paper during manufacture, which is visible when held against the light and typically identifies the maker, it a special design contained in electronic documents, pictures, music etc that is used to stop people from copying them. In this tutorial, we will make a watermark program created in VB.NET! Follow the following steps: 1.

Upload Image in PictureBox

Submitted by donbermoy on
We are fond of uploading so many images in websites, programs, etc. But, the good thing is that we can make this program. We will just use the OpenFileDialog in VB.NET. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Valid or Invalid Date in VB.NET

Submitted by donbermoy on
Hi! In this tutorial, we will make a program that decides if a date is invalid or not. The main function that we will just going to use is the IsDate Function. This function checks if the given expression is a valid date and returns a boolean true or false. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Finding Sum of the Date plus Number of Days in VB.NET

Submitted by donbermoy on
A few weeks ago, I had introduced how to find the Date Difference between the two Dates in VB.NET. Now, In this article, i will introduce another some twist of the Date Function in VB.NET, in which it will find the sum of the date and the number of days that you are going to add. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.