Free Source Code and Tutorials

Custom Search

Category: Visual basic Tutorial

How to Add Footer Row In DataGridView With Total In A Column

add footer row1

This tutorial about “How to Add Footer Row In DataGridView With Total In A Column” will help you answer the problem regarding adding a total row in datagridview especially when you are doing a Sales Inventory Reports or summary. To start with this application, follow the steps provided below. How to Add Footer Row In […]

Share this

Save and Retrieve an Image in a Database Using VB.Net

This tutorial will help you how to Save and Retrieve an Image in a Database Using VB.Net. In this article, we will be using Visual Basic 2008 and MS Access 2007 for our database. Please follow the instruction below: Step 1: Create a database in MS Access Database Name:  studentdb.accdb Table: tblstudent The structure of […]

Share this

How to make an Installer/Setup from your VB.Net Project


In this tutorial, you will learn how to make an installer or setup application from your VB.Net project. This tutorial also applies from different programming languages catered by Microsoft Visual Studio templates. Ex.(C#, C++, F#). Making an installer is essential for your deployment of your created system especially when you need to install your project […]

Share this


A module is quite similar to a class but every module has exactly one instance and it does not need to be assigned to a variable and does not support an inheritance.   A module last a lifetime same as your program because all of its members are Shared. Modules access levels can be adjusted with the access […]

Share this


What is a class? A Class is a group of object that defines its functionality as a set of properties and the methods that will respond to. And it is also a container of your data and code. Wherein you can limit the data that you’re accessing. In Object-Oriented Programming(OOP) , classes, methods and properties […]

Share this

40- MultiThreading

Multithreading (or free threading) can execute multiple tasks simultaneously  in the Visual Basic applications. This is a process of individual tasks that execute on separate threads. Multithreading enhances the performance and responsiveness of your applications.   Example: Open the Visual Basic, select “File” on the menu, hit new and create a new project. The New Project dialog will appear. Select “windows” […]

Share this


The SaveFileDialog component prompt the users to browse the file system and select a specific file to be saved. The dialog box returns the path and name of the file that the user has selected. On the other hand, you need to write the code in order to write the files to the disk.   Example : Open the […]

Share this


The OpenFileDialog control allows the user to open a file and select any file to open. The user can also check if the file does exists and open it. The OpenFileDialog control class that derives from the abstract class FileDialog.   Example: Open the Visual Basic, select “File” on the menu, hit new and create a new […]

Share this

37- Saving Text Files

Writing to a text file is the same as reading a text file but in here, instead of using the StreamReader we will use the StreamWriter which is used to write a stream of text to a file.   example: < View plain text > vb If System.IO.File.Exists("C:\testfile.txt") = True Then   Dim fWriter As New System.IO.StreamWriter(" […]

Share this
Page 1 of 512345 © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!