Drag form without titlebar

Drag a form that has no titlebar! Add the routine listed below, and call it in the ‘MouseDown’ event of the form (or a control on the form): MoveWindow Me.Hwnd Windows API/Global Declarations: Private Declare Function ReleaseCapture Lib “user32” () As LongPrivate Declare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal hWnd As Long, ByVal wMsg As Long, ByVal… Read More »

MDIForm Background

How to tile or center an image on an MDI Form’s background. Attachments File Uploaded Size 899-20170806-065400-MDIBACKG.ZIP 8/6/2017 6:54:00 AM 19967

MCI Sampler for VB6

How to use various multimedia API functions. Play a WAV/AVI/MIDI/CD, record a WAV, capture an AVI frame, change various volumes.  Attachments File Uploaded Size 899-20170806-065130-MCISAMP.ZIP 8/6/2017 6:51:30 AM 8138

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

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

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