Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date flips
Message
 
À
11/08/2000 19:26:38
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00404225
Message ID:
00404404
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform