All Visual Basic 6 Code

101 hits, 11 pages | Prev | Next | Advanced Search

Title Posted On Description
Flat Headers 2017-07-23

How to use flat, non-clickable headers with the ListView control. Give your listboxes a little more modern look.

Flicker-Free Animation 2017-07-24

How to animate transparent images without flicker. Extensive comments in the sample explains how it all works.

Font Alignment 2017-07-24

How to align fonts along a baseline. When printing different point sizes of a font using VB's Print method, they default to aligning at the top of the characters rather than on a common baseline. This sample shows how to properly align them. Works for the Form, PictureBox, UserControl, and Printer objects. 

Get Available Drivespace with VB6 2012-11-25

As a developer, from time to time you are called upon to build or process large chunks of data. During this process, you can use the the local hard drive as a temporary holding area. Admittedly, with todays well-specc'd computers, you shouldn't need to do this, but back in the day, this was the norm.

Get Window Handles - VB4 Version 2017-07-25

How to retrieve window handles without subclassing. Fills a ListBox with top level parent window handles and titles. Another ListBox is filled with all window handles and titles. Also show how to terminate a process. 

GetDriveType 2017-07-25

How to retrieve drive types (CD-ROM, Removeable, Network, etc...).  Fills a ListBox control with drive letters and types. 

HelpTrax Helpdesk Application 2017-12-29

I was going through some of my old code during a backup process, and I stumbled across this mostly complete help desk application I wrote about 13 years ago. Maybe someone can get some use out of it?

Hooked Focus 2017-07-26

How to program a single Focus event for every object. Added code that randomly sets the focus to a different control. 

Icon Viewer 2017-07-26

How to view icons from a DLL or EXE file.  Shows how to extract and draw an icon from a DLL. 

Keyboard Hook 2017-07-27

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. 

101 hits, 11 pages | Prev | Next | Advanced Search




Code Links