Sample Code 
-
This coding is useful for VB Developer who are interesting to create Dynamic menu.
Steps:
Add form - Name - frmMain
Image List - Name - imglstImages
Label - Name - lblLabel
Class- mcPopupMenu. 
-
This is a simple piece of code to add continuously "disappearing" effect on your forms.. 
-
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). 
-
This program takes in a name for the control, properties of the control and type of control, and displays the control to the screen. Shows how to create controls at runtime. . 
-
In most setup programs you will see the form start as black at the bottom of the form and fade into a light blue at the top of the form. This code shows you how to do just that, with any colour you want!. 
-
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.. 
-
How to detect when a Listview's subitem has been clicked.. 
-
Do you want to create your own title bar for forms in your VB application? Here's how.. 
-
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... 
-
This form will help a programmer to maintain version control text files for their projects.
A programmer-defined command line argument allows programmer to change file
directly within the developed program.
. 
-
Shows how to make flat a flat textbox, form, or anything else with a .hwnd property.. 
-
This is a VERY basic example for the absolute beginner out there...
Best update this as I found the copyright data for it...
. 
-
A simple color picker and pick-color-by-pixel tool for designers needing RGB or HEX color codes. Now updated to version 3.0. 
-
Ever wanted to have an instance of Excel appear inside yout MDI app? Here you go. 
-
This will sort a treeview nodes children in reverse order (Z-A). 
-
This is how to read the children nodes of a treeview. 
-
The faster and optimized version of loading fonts into your Comboboxes... forget Screen.FontCount and Printer.FontCount, use this API function and you will notice not only its fast as hell(about 98% faster) but its more efficient too!. 
-
A simple way to closing an application unnoticed if you know the WHOLE caption and it's correct spelling.. 
-
These two routines will scan a path and add files/folders to a treeview control.
It will also scan subfolders.. 
-
Scrolling/Bouncing Text. 
-
Sample code on how to detect if a column header is being clicked, and respond to that action.. 
-
Example of using MSFlexGrid control instead of list box, to allow formatting of lines of text in the list.. 
-
How to print documents using the WebBrowser control. 
-
Smoothly rotate colours in a Picture Box. 
-
How to print a web page from the WebBrowser control. 
-
Use the tag properties of the MDI Child form and a control on the form to store a saved and changed ('dirty') status.. 
-
How to add items to a List/Combo box without duplicating items. 
-
How to remove the selected items in a listbox. 
-
A quick and easy way to pass a Recordset to the ListView Control and format control's content using Data-Aware Classes.. 
-
How to add a horizontal scrollbar to a listbox. 
-
Get the current line, column, number of lines and first visible line in a RichTextBox. 
-
A neat bit of code to load a file into a listbox, and then save it again.. 
-
How to use the NOT boolean operator to easily toggle visibility.. 
-
How to count the number of lines in a multi-line textbox. 
-
How to work around the Tabbed Dialog control tab glitch when hosting ActiveX controls. 
-
Retrieving cursor information from a Rich Textbox 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 . 
-
How to change the color of a progress bar (BarColor and BackColor).. 
-
How to generate a DLL Base Address using Rnd. 
-
Why not to use DoEvents!. 
-
How to declare Public numeric constants in a Visual Basic class module. 
-
This little routine will unload all the forms upon an application exit.. 
-
This little source code shows you how to print 3D text on a form.....Just a bit!. 
-
This code will change the font of the command button to bold when the mouse moves over it and it will become default when the mouse moves out.. 
-
Make two listboxes scroll together. 
-
How to display a VB form without know it's name at design time. 
-
Add scrolling text to your application. 
-
Shows you how to add another item to an application's system menu. 
-
Shows you how to start moving a form if it hasn't got a title bar. 
-
Find out how to create a custom shaped form!. 
-
Programmatically ferret out control arrays from regular controls. 
-
This code shows you how to display a background image in the ListView control.. 
-
How to use the AppActivate statement. 
-
Monitor a notebook computer's battery information with SysInfo. 
-
How to create a splash page using the Flash plug-in. 
-
Public variables vs. Get and Let statements. 
-
Avoid variable type comparison glitches in textboxes. 
-
How to automatically close a message box after a number of seconds.. 
-
How to add a custom item onto a programs system menu. 
-
How to start and then close an application using code. 
-
How to validate your text box, and only accept numbers in a text field. 
-
A better way to gather multi-selected VB ListBox items. 
-
How to create a directory tree like in Explorer. 
-
The command Button dances in a loop. 
-
How to produce an integrated file, folder and drive dialog box. 
-
How to enable the user to drag and drop items between list boxes. 
-
A program demonstrating the ListView control. 
-
How to add margins to a textbox using SendMessage. 
-
An example of a MDI (multi-document interface) program. 
-
How to prevent a form from being resized outside specified values. 
-
How to display a popup menu. 
-
How to create your own progress bar control. 
-
How to create an Insert Symbols dialog. 
-
A simple example of exchanging data across a network using the WinSock control. 
-
A basic example on how to transfer files across the network using the WinSock Control. 
-
How to dial a telephone number using the MS Comm control. 
-
An example program using the MS Comm control. 
-
How to enumerate the windows using the EnumWindows API. 
-
An example program using the Toolbar control. 
-
A simple web browser built using the Web Browser control. 
-
An example of a bound form using the ADO control. 
-
A simple example of how to colour all HTML tags, leaving the text black!. 
-
How to show the Open, Save, Select Color and Print common dialogs.. 
-
An example using the Microsoft Coolbar Control. 
-
How to make a combo box automatically drop. 
-
Another example of how to colour HTML tags. 
-
A simple example of using the DataControl to browse a database. 
-
An example that shows how to display the "Browse for Folder" dialog, and how to retreive "special folder" paths. 
-
How to display the Browse for Folder dialog. 
-
How to ensure that the Inet control has all its data before parsing. 
-
How to change the drop height and width of a ComboBox. 
-
How to setup up WYSIWYG printing in a RichTextBox. 
-
How to retreive a list of the running programs and their paths.. 
-
How to add pop-up menu support to the Rich Textbox control. 
-
How to add items to a combo box using the contents of a file. 
-
How to save the items in a combo box to a file. 
-
An example of how to 'print' text onto a form.. 
-
How to display an Open dialog box, without using the Microsoft common dialog control!. 
-
How to count the number of records in the Data Control. 
-
How to prevent a form being closed by pressing the X button. 
-
How to enable items on a TreeView to be moved around using drop & drag. 