Sample Code
-
Display the Open & Save Dialog
by James Crowley
How to display an Open and Save dialog box, without using the Microsoft common dialog control!
-
Count the number of records
by James Crowley
How to count the number of records in the Data Control
-
Detect a sound card
by James Crowley
An example of how to detect if a sound card is installed on a PC.
-
Disabling the close button
by James Crowley
How to prevent a form being closed by pressing the X button
-
Dragging TreeView nodes
by James Crowley
How to enable items on a TreeView to be moved around using drop & drag
-
Get the CAPS state
by James Crowley
How to determine if the Caps Lock is on or off
-
Determine the Colour Depth
by James Crowley
How to determine the colour depth of the current screen (ie 256 colours, 16bit etc)
-
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