Category Archives: Visual Basic 6 (VB6)

Latitude/Longitude

How to calculate the distance between two points. Shows the distance in miles and kilometers between two points given their longitudes and latitudes. Attachments File Uploaded Size 899-20170804-062721-LATLONG.ZIP 8/4/2017 6:27:21 AM 2384

ListBox Searching

How to implement Windows Help style ListBox searching. Uses a TextBox and ListBox with auto searching in the ListBox with each keypress.  Attachments File Uploaded Size 899-20170804-063011-LIST2TOP.ZIP 8/4/2017 6:30:11 AM 1629

Keyboard/Mouse State

How to monitor the Keyboard and Mouse. Useful for detecting system inactivity or activating a program via a keypress combination.  Attachments File Uploaded Size 899-20170804-062222-KEYSTATE.ZIP 8/4/2017 6:22:22 AM 1362

Keyboard/Mouse State

How to monitor the Keyboard and Mouse. Useful for detecting system inactivity or activating a program via a keypress combination. Attachments File Uploaded Size 899-20170727-172855-KEYSTATE.ZIP 7/27/2017 5:28:55 PM 1362

Keyboard Hook

How to create an application-wide keyboard hook.  Intercepts and destroys certain keystrokes occurring in the current process. Note that the UserControls section contains a system-wide keyboard hook.  Attachments File Uploaded Size 899-20170727-173113-KEYHOOK.ZIP 7/27/2017 5:31:13 PM 2836

Hooked Focus

How to program a single Focus event for every object. Added code that randomly sets the focus to a different control.  Attachments File Uploaded Size 899-20170726-111842-HOOKFOCS.ZIP 7/26/2017 11:18:42 AM 3351

Icon Viewer

How to view icons from a DLL or EXE file.  Shows how to extract and draw an icon from a DLL.  Attachments File Uploaded Size 899-20170726-112050-ICONVIEW.ZIP 7/26/2017 11:20:50 AM 4189