Skip to main content

Visual Basic .NET Tutorial

Creating an Excel Application in VB.NET

In this tutorial, we will create an Excel Application. Excel is a spreadsheet application developed by Microsoft. Excel features calculation, graphing tools, pivot tables, and a macro programming language. Thus, excel is really important in offices for making reports, request letter, and for some miscellaneous applications. This tutorial uses Microsoft.Office.Interop.Excel in our Windows Form

How to Read and Write Text Files in VB.NET

Hi! this is my other tutorial in VB.Net in how to read and write a file. In this tutorial, we will learn how to manage data that is stored as a text file. Using text file is an easy way to manage data, although it is not as sophisticated as full fledged database management software such as SQL, Microsoft Access, and Oracle. VB.NET allows the user to create a text file, save the text file as well

Sending E-mail using VB.NET

Hi! In this tutorial, i will introduce some kind advanced VB.NET Tutorial which is Sending an E-mail. VB.Net allows sending e-mails from your application. The System.Net.Mail namespace contains classes used for sending e-mails to a Simple Mail Transfer Protocol (SMTP) server for delivery. In this tutorial, let us create a simple application that would send an e-mail. Take the following steps: Add

Creating a Slot Machine Program in VB.NET

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). First, download or save

Creating a Web Browser in VB.NET

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 browser 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

Navigate Record In the DataGridView Control (Count the records, First and Last Buttons)

This is the continuation of my previous tutorial which is the Navigate Record In the DataGridView Control. This time I’m going to add the last and first buttons and at the same time I’m going to add the counting of how many times the displayed records change in the DataGridView. For you, to know the limit in changing of displaying records in the DataGridView. Let’s Begin: Open your Visual Basic

Navigate Record In the DataGridView Control

In this tutorial I will teach you how to navigate records in DatagridView using Visual Basic 2008 and MySQL Database. This will show you that you can limit your displayed records in the Datagridview. And there’s no need for you to scroll down to it whenever you have plenty of records. All you have to do is to click next and previous buttons. And the records will be displayed in chronological order

Displaying and Counting the Total Value of the Records in the DataGridView

In this tutorial I will show you how to display and sum up the total values of the records in the DataGridView. The records that are displayed are items that has its price, then, the total value will be displayed in the last row of the DataGridView . I’m using MySQL Database as my database and Visual Basic 2008. The features of this is to calculate the salaries of all employees Let’s begin: First

Creating a Report in Student Registration Using Crystal Reports Part 3

This is the continuation of my tutorial. This time I will show you how to put a Crystal Report in a Windows Form and retrieving the records from the database. Let’s begin: First, open the file of Student Registration in Visual Studio 2008. Add a new file which is a Windows Form. And hit add. Now, add the Crystal Reports Viewer and Report Documents in the reports Form. Go back to the Design Views

Creating a Report in Student Registration Using Crystal Reports part 2.

In my previous tutorial which is Creating a Report in a Student Registration Using Crystal Reports part 1, I set up the ODBC data source for the Student Registration database. Now, I will create a report of a student in the Crystal Report using Visual Studio 2008. First, open your Visual Studio 2008, open the file of the Student Registration Form. Then, add a new item which is Crystal Reports