Delphi Code Tips
Keyword Index


Introduction
Activating or deactivating the screen saver
Adding a custom menu item to the form's system menu
Adding or removing the backslash from a path
Capitalizing first characters of every word
Converting a TFileTime value to a readable string
Converting negative paranthesis string number to negative sign string number
Copying a directory or set of files
Counting the number of colors used in a bitmap
Creating shortcuts on the desktop, start menu, send to menu, or quicklaunch toolbar
Deleting a directory or set of files
Determining if a drive is a CDROM drive
Determining if a drive is ready
Determining the week number when given a TDateTime
Disabling/Enabling the System Menu close button
Drawing text at an angle
Ejecting or closing the CDROM drive
Ejecting or closing the CDROM drive (specifying a drive letter)
Emptying the Recycle Bin
Exiting windows (32-bit)
Extracting the long path name (32-bit Windows style)
Extracting the short path name (Win3.1 style)
Formatting a floppy drive
Getting a list of exports from a DLL
Getting a screenshot of the screen or form
Getting drive letter when given a number
Getting drive number when given a letter
Getting EXE type (16/32 bit Windows or DOS)
Getting extended CPU information
Getting the amount of free disk space
Getting the core CPU speed
Getting the current color depth of the video card
Getting the date range of a given week number
Getting the evironment variables
Getting the HTML color string when given a TColor
Getting the modified date of a file
Getting the serial number of the CDROM
Getting the supported video modes of your video card
Getting the total directory size in bytes
Getting the total disk size
Getting the volume serial number
Getting the Windows version (string result)
Getting the Windows version (Word result)
Getting the Windows, System, Temp, & Current Directories
Getting the user's full name and company
Getting the username from the local PC
Getting your local IP address or host name
Getting version information from a file
Getting version information from a file (a better one)
Launching a Control Panel Applet
Launching only one instance of your application
Make the PageControl use buttons instead of tabs
Opening the Start Menu
Padding strings
Sending a text file directly to the printer
Setting the modified date of a file
Setting the wallpaper (tiled, centered, stretched, or positioned)
Shortening the pathname with an ellipses (...)
Showing the network drive mappings
Showing the properties of a file
Trimming all instances of a string from a string
Trimming multiple characters from a string
Trimming/replacing all instances of a character in a string
Using CreateProcess() to launch another application
Using CreateProcess() to launch another application and wait until it's finished

© 2005 Blue Orb Software