Dates, MaskedBox, Regional settings and short date 
Author Message
 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



Sat, 10 Aug 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Dates, MaskedBox, Regional settings and short date

2. Regional Settings-Short Date Style

3. How Can I Change the Short Date Format At Regional Settings in Control Panel

4. Regional Setting (Short Date Style) by API

5. Regional Setting (Short Date Style) by API

6. Setting the Regional Date and Time Settings.

7. How to retrieve information about date (short date) settings in Regional Settings???

8. Change Windows Regional Date/Time setting

9. Regional settings Date BUG

10. Date format and regional settings

11. how to programmatically access regional date settings?

12. Regional DATE setting Question.

 

 
Powered by phpBB® Forum Software