Category Archives: Visual Basic 6 (VB6)

DialUp Networking

Demonstrates a few DialUp Networking functions. Fills a ListBox with available connections. Has a Connect! button and a Status! Attachments File Uploaded Size 899-20170718-092854-DUN.ZIP 7/18/2017 9:28:54 AM 2024

Drag and Drop Listbox

How to drag/drop to a specific listbox. This sample shows how to move ListBox items around by dragging and dropping. A line is shown where the item will be dropped. Includes auto-scrolling of the ListBox.  Attachments File Uploaded Size 899-20170717-092246-DRAGDROP.ZIP 7/17/2017 9:22:46 AM 4235

Directory TreeView

How to fill a TreeView with a directory tree. Uses a recursive procedure to fill a TreeView control with all directories on a drive.  Attachments File Uploaded Size 899-20170714-073116-DIRVIEW.ZIP 7/14/2017 7:31:16 AM 2543

LetterToDigit

This is a simple function to include in a module for converting letters to digits. So if you wanted to map a name to a phone number. For example, if you were given a phone number such as 1-800-CALL-NOW, this function would convert it to 1-800-225-5669. Function LetterToDigit(ByVal strPhoneLetter As String) As String   Dim intDigit As Integer   intDigit… Read More »

Dependency Walker

How to view file dependencies. This is a Microsoft tool distributed free of charge, but I had trouble finding it on the redesigned Microsoft Support website, thus I’ve zipped it and included it here. This is very useful for finding out what DLLs and files go with a control or DLL or whatever. You can walk through all… Read More »

Database Search

A very basic demo of how to search a database with VB6. Uses the Biblio.mdb database (you’ll need to connect to your local copy of it) and fills a ListBox with the Author field. Click on the LB to pull up the record (using the FindFirst method). List2 is filled with Table names (For Each TableDef) and List3… Read More »

Data Combo

How to load a ComboBox with data tables and link that to another ComboBox containing fields. Also demonstrates the GetOpenFileName API function – selecting a filename without using the Common Dialog control. Attachments File Uploaded Size 899-20170711-072918-DATACOMB.ZIP 7/11/2017 7:29:18 AM 12988

Basic Encryption

How to encrypt INI and data files. Includes 3 functions for data encryption. Uses a derived key XOR. Attachments File Uploaded Size 899-20170704-073351-CRYPT.ZIP 7/4/2017 7:33:51 AM 2788

Copy Typing

How to duplicate text entry in a separate control. Copies your keystrokes from one TextBox to another as you type. Attachments File Uploaded Size 899-20170703-101920-COPYTYPE.ZIP 7/3/2017 10:19:20 AM 1361

Cool Toolbars

How to implement “cool tools” style toolbars. Shows how to create Internet Explorer-like “cool tool” buttons without the need for any custom controls. Shows how to detect when a mouse moves over, then off a control. Attachments File Uploaded Size 899-20170626-072157-COOLTOOL.ZIP 6/26/2017 7:21:57 AM 6628