Sample Code 
-
Adding the horizontal scroll bar to a list box dynamically taking into account its font (using the IFont interface) and the vertical scroll bar visibility (by analyzing the WS_VSCROLL flag of the listbox styles). 
-
The problem with Win32 tooltips is that you can attach it only to a control that provides the hwnd property returning the Win32 handle of the control. The following trick allows you to create real Windows tooltips for VB intrinsic controls which do not have this property.. 
-
This code will search a folder and all sub folders for a specified file or filter.. 
-
This is an ExceptionHandler, what is an Exceptionhandler? Once the wExceptionHandler is installed it will allow you to catch and trap those errors that Windows will throw at your application (Eg. Access_Violation) Which doesnt get treated by the Visual Basic Error handler, making your application bullet proof!. 
-
Prevent Multiple Instances of a 32-bit VB Application. 
-
A sample program to teach how to add an icon to a menu item. It will show you how to add an icon beside the Save, New, Open, etc. in a menu bar.. 
-
This code will show you how to use forms in multi instances, meaning you can create many instances of a control at runtime but yet only need create the form once at design.. 
-
-How to ..... bitmaps,icons,dialogboxes,Menues..etc..from Executeables or Res files... 
-
Shows how to make flat a flat textbox, form, or anything else with a .hwnd property.. 
-
Grab this re-usable code for retrieving the computer name. 
-
Save and read conditional formatting as strings. 
-
How to declare Public numeric constants in a Visual Basic class module. 
-
This code shows you how to display a background image in the ListView control.. 
-
Prevent multiple instances of your VB application. 
-
How to add a custom item onto a programs system menu. 
-
Some code that simulate the C function, Sprintf, in Visual Basic. 
-
Little app that frees work wrea to full screen
. 
-
How to display text in read only combo box i. e combo box with style property set to 2. 
-
How to set values in the hi-word and lo-word, and retreive them again. 
-
How to create your own 'tutorial' to demonstate features in your application. 
-
How to provide status messages when the mouse is over menu items. 
-
How to prevent a form from being resized outside specified values. 
-
An example network browser. 
-
How to create irregularly shaped forms!. 
-
An example of subclassing. 
-
An example of using Polymorphism. 
-
How to enumerate the windows using the EnumWindows API. 
-
How to display an Open dialog box, without using the Microsoft common dialog control!. 
-
How to display an Open and Save dialog box, without using the Microsoft common dialog control!. 
-
Many countries' international settings specify a space as the digit group separator. The problem with this is that in a multi-line text box the lines could be broken in the middle of a number, which . 
-
A more efficient way to test whether an object supports a particular interface. 
-
An Object Orientated way to pass Visual Basic variable values to a form. 