Visual Basic .NET Tutorial

File Handling: How to Open a Text File in Visual Basic.NET

Submitted by joken on

In this tutorial, I’m going to show you how to open a text file using Visual Basic. A text file is considered as a plain text and the only capable of creating plain text files and save it to .txt extension is notepad. So to start with this tutorial, open first a visual basic and create a project named “FileHandling”.

How to Create a Text-To-Speech Application in VB.NET

Submitted by donbermoy on

This is my another tutorial in VB.NET that converts an inputted text into a speech or voice. We will just only call the Speech API namespace for this program and with the use of Spvoice object. The SpVoice object brings the text-to-speech (TTS) engine capabilities to applications using SAPI automation. An application can create numerous SpVoice objects, each independent of and capable of interacting with the others.

Creating a Web Browser in VB.NET

Submitted by donbermoy on

Hi! For now, I will post one tutorial for Android and one for VB.NET.

Which browser do you use to surf the Internet? Basically, everyone likes to navigate the Internet using browsers like Firefox, Google Chrome, and more. However, isn’t it cool if you can create your very own web browser that you can customize to your own taste? Yes, you can do that in VB.NET, and pretty easy too. In this lesson, we shall learn how to create a simple web browser and get it running in a few minutes.

Determine Even or Odd Number in VB.NET Tutorial

Submitted by donbermoy on

Even Numbers are any integer that can be divided exactly by 2. The last digit will be 0, 2, 4, 6, or 8. If it is not an even number, it is called an odd number. The last digit will be 1, 3, 5, 7, or 9.

In this tutorial, we will create a program that can determine a number whether odd or even.

Now, let's start this tutorial!

Creating a Slot Machine Program in VB.NET

Submitted by donbermoy on

This is my another tutorial in VB.NET. In this tutorial we add three picture boxes, a timer, a button and a label. Set the timer interval to 10, which means the images will refresh every 0.01 second. In the code, we shall introduce four variables m,a, b and c, where m is used to stop the timer and a,b,c are used to generate random images using the syntax Int(1 + Rnd() * 3).

Getting Started

First thing you need to do is Download and Install Microsoft Visual Studio.

Adding and Saving Records to Access Database using VB.NET Tutorial

Submitted by donbermoy on
This is a continuation of my other tutorials entitled Search and Retrieve a Record from Access Database and VB.NET. But here, we will focus on adding and saving a record into an access database. Now, let's start this tutorial! 1. Create an access file with the table and entities like the image below.

Filtering a Group of Data in VB.Net and SQL Server 2019

Submitted by janobe on
In this tutorial, I will teach you how to filter a group of data using VB.Net SQL Server 2019. This method has the ability to filter a group of data in the datagridview with the use of the radio buttons. You can select whether “Firstname”, “Lastname”, or “All” you want to display in the datagridview. I used Microsoft Visual Studio 2015 and SQL Server 2019 to develop this program. Let’s Begin:

Creating Database

1.

Filling ComboxBox with Data in VB.Net and SQL Server 2019

Submitted by janobe on
In this tutorial, I will teach you how to Fill a ComboBox with Data in VB.Net and SQL Server 2019. This method has the ability to retrieve the data in the sql server database and display it into the combobox. This is simple yet powerful method that you can do it in no time. Follow the step by step guide to know how it works. I used Microsoft Visual Studio 2015 and SQL Server 2019 to develop this program. Let’s Begin:

Creating Database

1.