
Dates, MaskedBox, Regional settings and short date
Hi
I am trying to modify an application to allow users to specify date formats
from the regional settings control panel applet. Up till now users had a
fixed mm/dd/yy format or dd/mm/yy.
A problem occurs if they have set the short date to be m/d/yy - so it
converts 01/06/99 to 1/6/99. The application is using masked edit boxes for
data entry and I have replaced the "##/##/##" mask with "9#/9#/##" to
support this format. However, if I copy "1/6/99" into the control using the
seltext property I get 16/99/ and get an error when using the text property
as it doesn't match the expected layout.
Any ideas how to get around this problem?
Mike