VB 6 Sample Code
-
Rotate Colours
by Nick Avery
Smoothly rotate colours in a Picture Box
-
AOL Clipboard
by Craig Jasper, Jr.
An example was to demonstrate how to get the HTML that is the basis behind AOL's RICHCNTL via the Windows clipboard.
-
Add all fonts to a treeview control
by Robert
This example shows you how to add all the fonts on your system to a treeview control.
-
Using MSMQ to persist your COM
by S.S. Ahmed
Make component persistable by storing the information in property bags.
-
Screen Saver
by James Crowley
An example of how to make a screen saver in VB
-
View Fonts
by Chris2
This code will show you how to make all the system fonts appear in a list box, then preview them!
-
Shorten a Source File
by Nick Avery
Shorten a file location in a label with ...
-
Easy CD Access
by Vibin Wilson
How to open and close a CD-ROM, and create an icon in the system tray
-
Fixed Combo Demo
by James Crowley
How to display text in read only combo box i. e combo box with style property set to 2
-
Stop Watch
by Cyber Sam
A simple stop watch / clock program
-
Evaluating VBE's Code Line Counts
by ElementK Journals
How to avoid confusion when evaluating the VBE's code line counts.
-
Using Control Arrays
by James Crowley
How to use control arrays
-
Prevent phantom apps using the DataReport
by James Crowley
How to prevent phantom apps when using VB 6.0's DataReport
-
Determine if internal database objects exist
by ElementK Journals
Use VB's ADOX to determine if internal database objects exist
-
Referring to a DE Command's recordset in VB 6.0
by ElementK Journals
How to refer to a DE Command's recordset in VB 6.0
-
Window Enumeration
by Muhammad Abubakar
How to enumerate the windows using the EnumWindows API
-
Toolbar
by James Crowley
An example program using the Toolbar control
-
Saving combo items to a file
by James Crowley
How to save the items in a combo box to a file
-
Make sure the Inet control has all its data
by ElementK Journals
How to ensure that the Inet control has all its data before parsing
-
Add to Recent Documents
by James Crowley
How to add a file to the recent documents list.