Category Archives: Visual Basic 6 (VB6)

VB6 Barcode Generator

This a Barcode generator with bar39 and bar128. THIS BARCODE GENERATOR IS SIMILAR TO INDUSTRY RENOWN PRODUCT ‘ACTIVEBARCODE’ IN FUNCTIONALITY. I’ve put detail description of how these codes are generated. If you are a beginner or a novice to Barcode, it helps you to understand the Barcode algorithms I’ve used. I’ve developed it from scratch. Now with these… Read More »

CMultiBits Class

CMultiBits is a class, with no dependencies, that handles bit manipulation in Byte, Integer, Long, Single, Double, Currency, Dates, and Long Arrays. (These are VarTypes 2 thru 7, 17 and 8195. The Long Arrays are in place of Decimals but can be expanded way beyond Decimal size. It should be noted that the class can only handle one… Read More »

Area of a Circle Calculator

This code allows the user to find the area of circle by clicking a command button and then typing in the radius of the circle. It is very helpful to anyone working on a calculator project. I am also coming out with area of triangle and square. Private Sub Command1_Click()    Dim Radius   Dim Area    Radius = InputBox(“Type In The… Read More »

JPEG Encoder Class

Save a picture as a baseline JPG file using only vb code. Open source, NO THIRD PARTY DEPENDENCIES, and as fast as typical commercial software when compiled. All JPEG compression code is contained in a single class that can be added to existing projects. There is also an Integer DCT version of this class written by Ron van… Read More »

Filename from Path

Given a fully qualified path and filename, returns only the filename. Module Function GetFileName(fname As String) As String    Dim i As Long     On Error Resume Next    For i = Len(fname) To 1 Step -1        If Mid(fname, i, 1) = “\” Then            Exit For        End If    Next i    GetFileName = Trim(Mid(fname, i + 1))End Function Usage Private Sub Command1_Click()    ‘ Good for removing the path    MsgBox GetFileName(“C:\Windows\System\moricons.dll”)End Sub

Simple TCP client

A small and simple code to connect two computers using the TCP protocol with winsock control. I’ve added some comments in the code, so any1 should be able to understand easily. Read the ReadMe.txt file for usage instructions. Attachments File Uploaded Size 990-20190828-091633-TCP.zip 8/28/2019 9:16:33 AM 3643

NanoVB6

NanoVB6 is a very compact VB6 version which is smaller than 5 MB when compressed. It is furthermore fully portable – so that it can be run from a usb stick or on BartPE. It is still able to run and compile your projects as long as all ActiveX DLLs, OCXs and TLBs etc. that you referenced within… Read More »

Complete Payroll System

This is a complete payroll system w/ Daily Time Report. This code is intended for those developer who wanted to create their own payroll system. hope this one can help you. Attachments File Uploaded Size 1066-20191122-125432-ComPayroll.zip 11/22/2019 12:54:32 PM 2035070

VB6 Error Code List

This list contains all 658 errors that can happen in Visual Basic 6. The list is useful in debugging problems in your software, and with it, you can decipher a seemingly random number to an actual description of the problem. Code Explanation 0 The operation completed successfully. 1 Incorrect function. 2 The system cannot find the file specified.… Read More »