Posted on 2005-04-05
I've got a problem with the standard DatetimePicker in Delphi.
On some PC's where my app is ran I get the following error:
'Failed to set calendar date or time'
These machines are running windows XP and connecting to an SQL Server database, although on some of the other XP pc's connecting to the same database it works fine.
As this error does not happen on my PC which is running Win2K with Delphi7 I cannot catch where it is going wrong. So I have put messages into the forms create and show to try and catch it but it is not getting to the form show event messages.
I am opening the form with following code if that helps anyone:
frmDate := TfrmDate.create(self);
Also tried making a small app which calls a window with a datetimepicker on it and it works fine on all the pc's.
Has anyone ever saw this error or know a fix for it?