Miscellaneous demos How to select folders in the common dialog
Includes all common dialog definitions, and a handy module that prints the constant names
of all messages received in the dialog's callback procedure.
Download comdlgfolderbrowse.zip (8kb)
Last update: 12/11/98
How to provide integral height functionality in the VB
ListBox
Also shows how to override the ListBox (and the DirListBox default) IntegralHeight
property. Uses subclassing and Matt Curland's debug object for subclassing (see under the
"The Code" section on this site's main page).
Download lbintegralheight.zip (8kb)
Last update: 03/22/99
How to display animated cursors on a Form
Contains a class module that encapsulates a Static class window used to display animated
cursors.
Download anicursor.zip (36kb)
Last update: 03/23/99
How to use the FormatMessage API for replacing string
inserts
Nothing fancy, just a code module.
Download stringinserts1.bas (3kb)
Last update: 07/04/99
How to register and unregister type libraries
Includes its own type library and ODL source which defines the ITypeInfo interface,
providing the means to register and unregister type libraries in VB code.
Download regtypelib.zip (11kb)
Last update: 09/07/99
How to load GIF and JPG images directly from resource
Shows how VB internally creates Picture objects from resource and file with the
OleLoadPicture API, without the need for any custom type libraries.
Download graphicload.zip (30kb)
Last update: 11/28/99
How to code URL and file system path auto-complete
functionality
Includes a class module that provides auto-complete functionality in a VB TextBox for both
History folder URLs and file or folder paths, without using the IE5 SHAutoComplete API and
the undocumented IE4 IUrlHistoryStg interface. Works on IE3.
Download autocomplete.zip (8kb)
Last update: 11/29/99 |