VB 6 Sample Code
-
Conditional Formatting
by Nick Avery
Save and read conditional formatting as strings
-
Easy CD Access
by Vibin Wilson
How to open and close a CD-ROM, and create an icon in the system tray
-
Declare public constants in a class module
by James Crowley
How to declare Public numeric constants in a Visual Basic class module
-
Unloading All Forms
by http://www.computerexpert.ca
This little routine will unload all the forms upon an application exit.
-
Undo and Redo
by Nick Avery
Add a control or class module that creates the ability to use Undo and Redo.
-
Print 3D text of a form
by Abdul
This little source code shows you how to print 3D text on a form.....Just a bit!
-
Strip Spaces from String
by Andrew Yap
Strip all spaces from a string and concatenate them into one long string.
-
Changing the look of command button
by Abdul
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.
-
How to disable Ctrl+Alt+Del
by Abdul
This simple code shows you how to disable/enable the Ctrl+Alt+Del keys
-
Are you connected to the web?
by crispin
This simple code will tell you if you are connected to the internet, and what method you use to connect...
-
Displaying all system fonts in a combobox!
by Abdul
This trick show you how to add display all the fonts, which you have installed on your system, in a combobox..
-
Creating a DVD Player
by Chris2
Learn how to create a basic DVD player in VB.
-
Synchronising ListBoxes
by Daniel Okely
Make two listboxes scroll together
-
Internet Transfer Control
by S.S. Ahmed
This is a simple code that demostrates the usage of internet transfer control to retrieve HTML code from a web page.
-
View Fonts
by Chris2
This code will show you how to make all the system fonts appear in a list box, then preview them!
-
Tip Of the Day
by Ray James Sayers
This Source code will show you how to make tips of the day.
-
Shorten a Source File
by Nick Avery
Shorten a file location in a label with ...
-
Altering the word break in a multiline text box
by MerrionComputing
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 timer without a timer control
by MerrionComputing
Thought this was impossible? Find out how with the AddressOf operator, and a bit of Windows API!
-
BackColor and BarColor of a ProgressBar
by WonderGuy
How to change the color of a progress bar (BarColor and BackColor).