VB 6 Sample Code
-
Determine the Screen Resolution
by James Crowley
How to determine the resolution of the current screen (ie 600x800)
-
Hide the cursor
by James Crowley
How to hide the mouse cursor
-
Create a Hot Key
by Georgi Ganchev
How to create a Hot Key for your application
-
HTML Help Declarations
by James Crowley
A module containing the declarations you need for using HTML Help Files
-
INI Module
by James Crowley
A neat module that lets you read and write INI files
-
Simulating Keyboard Events
by Rohit
How to simulate keyboard events
-
Large Fonts or Small?
by James Crowley
How to determine whether the system is using Large Fonts or Small Fonts
-
Simulating Mouse Events
by Dominique
A Mouse Move module letting you simulate the user moving the mouse
-
Mouse Out Event
by James Crowley
How to create a mouse out event
-
Open a file/url with its default program
by James Crowley
How to open a file, url or email address with its default program
-
Play a MIDI file
by James Crowley
How to play a MIDI (sound) file
-
Play a WAV file
by James Crowley
How to play a WAV (sound) file
-
Generate a DLL Base Address
by James Crowley
How to generate a DLL Base Address using Rnd
-
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