News for 27 March 2013

   
6 assorted snippets added to the Code Snippets Database
A rag-bag of six unrelated snippets has been added to the Code Snippets Database. The snippets are: GetDefaultPrinterName - returns name of any default printer on the computer; DirPurge - deletes a directory and all its contents; FileInProgramDir - returns the path to a given file, located in side the same directory as the program; SafeFreeEncoding - frees a TEncoding object unless it is one of the standard encodings; IsIEInstalled - checks if Internet Explorer is installed; EnglishColorName - returns the name of a known colour in American English.
27 March 2013