>It's been tricky convincing the Council to put an ad in the paper for that, we've decided to issue electric shocks to anyone who doesn't enter a 4 digit date, there is a function called GetElectricShock(cVoltage) in one of the Windows DLL's. It simply feeds back a lot of power to the enter key, mind you, the local gangbanger might come in handy for disposing of the body if the user gets badly electrocuted.
>
My ex-boss had a suggestion; public floggings, in the finest tradition of the Royal Navy. You can make a really nice lash out of some spare EtherNet cable. Or tie them to a chair and make them watch TeleTubbies for 3-4 hours; guarenteed to turn even the strongest-willed super-human into a pathetic, nearly catatonic, quivering mass of protoplasm. And then have them wander the halls, serving as a constant reminder of just what happens to those who do not follow corporate data format guidelines.
In the US, the latter is probably illegal, something about cruel and unusual punishment...
>I will probably create a class for this textbox, as there are a 'lot' of date fields in the database, no problem there.
Definitely a good idea.