Search Tools Links Login

Posts by BlackBeltVB

89 hits, 12 pages | Prev | Next

Get Window Handles - VB4 Version

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. 


Posted:2017-07-25, 730 views, filed under: Visual Basic 6

GetDriveType

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


Posted:2017-07-25, 443 views, filed under: Visual Basic 6

Hooked Focus

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


Posted:2017-07-26, 383 views, filed under: Visual Basic 6

How to center a common dialog

Responds to the WM_INITDIALOG message to center the Common Dialog Control on a form. This sample uses a derivative of the technique created for the Windows Styles article in Visual Basic Programmer's Journal.


Posted:2017-06-09, 601 views, filed under: Visual Basic 6

How to change video resolutions and color depth

Utilizes API calls to enumerate possible video settings. Switches the system to the selected setting and reboots if necessary. pre-selection.


Posted:2017-06-09, 431 views, filed under: Visual Basic 6

How to record an audio CD to a WAV file

Records an audio CD to a WAV file while playing the CD. Includes track pre-selection. 


Posted:2017-06-08, 504 views, filed under: Visual Basic 6

Icon Viewer

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


Posted:2017-07-26, 1137 views, filed under: Visual Basic 6

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. 


Posted:2017-07-27, 395 views, filed under: Visual Basic 6

89 hits, 12 pages | Prev | Next