A voir également:
- Vb6 randomize
- Vb6 - Télécharger - Divers Utilitaires
- Split vb6 - Forum VB / VBA
- Vb6 listbox ✓ - Forum VB / VBA
- Vb6 freefile - Forum VB / VBA
- Msflexgrid vb6 - Forum VB / VBA
3 réponses
Merci pour ton aide, j'ai trouvé la solution à mon problème dans la page que tu m'as refilée.
Pour information, avant de taper :
NB = Int((9999 - 1 + 1) * Rnd + 1)
Il faut appeler Randomize.
Ainsi :
Randomize
NB = Int((9999 - 1 + 1) * Rnd + 1)
...retourne un nombre totalement aléatoire entre 1 et 9999.
Pour information, avant de taper :
NB = Int((9999 - 1 + 1) * Rnd + 1)
Il faut appeler Randomize.
Ainsi :
Randomize
NB = Int((9999 - 1 + 1) * Rnd + 1)
...retourne un nombre totalement aléatoire entre 1 et 9999.
Salut =)
tu peux aller voir sur ce site : http://www.vbexplorer.com/VBExplorer/random/random_numbers_1.asp
++
tu peux aller voir sur ce site : http://www.vbexplorer.com/VBExplorer/random/random_numbers_1.asp
++