Sample Code
-
Report an Error to the Developer
by James Crowley
How to enable errors to be reported to the developer
-
Running a DOS command
by James Crowley
How to run a dos command from a VB program
-
Show the contents of a HTML Help file
by James Crowley
How to display the contents panel of a HTML help file
-
Show the index panel of a HTML Help file
by James Crowley
How to display the index panel of a HTML Help file
-
Display HTML Help from a Message Box
by James Crowley
How to display a HTML Help topic from a Message box
-
Screen Saver
by James Crowley
An example of how to make a screen saver in VB
-
Get Computer Name
by James Crowley
How to retreive the name of the computer
-
Get User Name
by James Crowley
How to retreive the current logon
-
Asteroids Game
by James Crowley
A simple space game in VB
-
Screen Shot
by James Crowley
How to get a screenshot
-
Instead of using DoEvents, try doing events!
by ElementK Journals
Why not to use DoEvents!
-
Always on top
by James Crowley
How to make a window always appear on top of other forms
-
Simulate the Sprintf function in VB
by VB Diamond
Some code that simulate the C function, Sprintf, in Visual Basic
-
Open and close a CD Drive
by James Crowley
How to open and close a CD ROM drive
-
Access, VB and SQL Server wildcard characters
by James Crowley
Important differences between Access, VB and SQL Server wildcard characters
-
Read text files into ADO recordsets
by James Crowley
How to accurately read text files into ADO recordsets
-
Add a hyperlink
by dreec
Improvement on previous code submitted
-
Dancing Command Button
by mailto:[email protected]
The command Button dances in a loop
-
Mathyx
by SBAÏ TANJI Aziz
This application is a simple calculator. You just have to write your mathematical expression and then press Enter to have the numerical result.
-
Text Scroller With Pause
by ChAdWiCk
A Version of the Text Scroller on VBweb, with a pause function when the text reaches the middle.