vb.net

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.

Exception Handling

Submitted by donbermoy on
Sometimes, we encounter different errors along the program whenever we executed it. For example, the file does not exist in the given path, network connections are not connected, or any errors that you have experienced when you're learning how to program. This is what we've called Runtime Errors. One way to prevent it is the Structured exception handling. In this tutorial, we will used the Try-Catch-Finally statement.

Acquire Computer Drive

Submitted by donbermoy on
Hi! This is my tutorial entitled "Acquire Computer Drive using VB.Net". Sometimes we have require to get the drives of our computer, but this tutorial gets the list of available drives in ListView. 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.