Fraction Calculator using VB6

Hello everyone! I’m back with a new program using Visual Basic 6, and it’s called Fraction Calculator. It is a simple project made by me during my OS subject. This program can calculate fraction numbers and reduce them to lowest terms. I would like to share this program for those who might need it–you can…

VB6 Code in Exporting Listview Items to Excel

Assuming that we have used a listview in displaying our data in Visual Basic 6, and we named our listview as LvList having seven (7) fields. Now, to export all the list of data from our listview to an Excel file, we will use the code below. If, for example, you have less than or…

How to open a PDF file in VB6

Place this code in the upper part of the project code. Option Explicit Private Declare Function ShellExecute Lib “shell32.dll” Alias “ShellExecuteA” ( _ ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long Private…