Force Logoff Snippets

Code example for Force Logoff in VB.NET via InteropServices

12 April, 2012   

Delphi code example - force the input in a TEdit

Example code for Force Favicon Requests to Correct Location

19 June, 2012   

Changes the brightness of a bitmap by a given Delta value in range -255..+255.

18 February, 2013   

Brute-force calculation of any date. Includes some very tricky rules for modern-day Gregorian calendar.

29 August, 2011   

Be careful that these boxes aren't sitting within another element that has a background, otherwise the negative z-index values (required for this to work) will force the shadows underneath that and not show up.

04 July, 2011   

Animation with threads by John E. Grayson

07 August, 2014   

All hints except /*+ rule */ cause the CBO to be used. Therefore, it is good practise to analyze the underlying tables if hints are used (or the query is fully hinted.

28 April, 2011   

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.