>Hi all,
>
>I am using VB6.0 some times my dates flips in text boxes means 08/01/00 to 01/08/00.what i will do.
> My regionalsetting in control panel is also the mm/dd/yyyy. in my program am also using "SetLocaleInfo" API.
>
>this is not happening in all machine, but few of them having this problem.
How do you put date in the text box? You should use:
text1.text = format(date,"mm/dd/yyyy")
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com