Visual Basic .NET Tutorial

How To Create a Builder in Visual Basic .NET

Submitted by Yorkiebar on
Introduction: Welcome to my tutorial on how to create a builder application in Visual Basic (VB.NET). What is a Builder? A builder application is an application which allows a user to select certain settings before generating a sub application (named a 'stub') which is uniquely created to the users settings entered within the builder. Theory: So for the theory of a builder application, we want to perform the following steps in order; Gain original source code of the original exe application. Get user settings through a CLI/GUI. Write the new

Create XML File in VB.NET

Submitted by donbermoy on
Today in VB.NET, I’m going to teach you how to create a program that also creates an XML file using VB.NET. We all know that XML (Extensible Markup Language) is an easy way to create common information formats and share both the format and the data on the World Wide Web or elsewhere. Now, let's start this tutorial! 1.

Get All Files under a Directory in VB.NET

Submitted by donbermoy on
Today in VB.NET, I will teach you how to create a program that gets all files under its corresponding directory not all the folders that are inside on it. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Creating Threads in VB.NET

Submitted by donbermoy on
Today in VB.NET, I will teach you how to create threads. We all know that a thread is a basic processing unit in our computer to which an operating system allocates processor time, and more than one thread can be executing code inside a process. Thus, threads have priority. It is just like a racing program. Now, let's start this tutorial! 1.

How to Write Data to a Text File using BinaryWriter in VB.NET

Submitted by donbermoy on
Today in VB.NET, I will teach you how to create a program that will write data to a textfile using BinaryWriter. I already made this kind of tutorial but it has created using StreamWriter. See here: 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.

Count Number of Words using Regex in VB.NET

Submitted by donbermoy on
Today in VB.NET, we will create again a program that counts the number of words in VB.NET. But here, we will now use Regex. I already made a tutorial about how to create this program but i used Split method with (CChar(" ")) that time. See here: Word Count Program in VB.NET Now, let's start this tutorial! 1.

Display Directory Structure using TreeView in VB.NET

Submitted by donbermoy on
Today in VB.NET, i will teach you on how to create a program that loads and displays the directory structure of C using the TreeView control in VB.NET. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in Visual Basic 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 only one TreeView1 named TreeView11 to display the contents of C directory structure.

Record and Play Audio in VB.NET

Submitted by donbermoy on
Today in VB.NET, i will teach you how to create a program that records and plays audio (microphone) using VB.NET. 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 three buttons named Button1 as record button for recording audio, Button2 as save and stop button, and Button3 for playing the recorded audio.

Filling and Getting the ValueMember of a ComboBox in Vb.Net

Submitted by janobe on
In this tutorial I will show you how to fill and get the ValueMember of a ComboBox in VB.Net. Knowing the value member of the items that will be displayed in a combo box is very important.Why? For instance, in the “employee’s table”, you want to display the name of the employee in the combo box, but you want to get the id of it.