by zeid (2 Submissions)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Sun 3rd September 2006
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
This code generates a random number, could be used in many things.
API Declarations
1- Text box.
2- Command button.
Private Sub cmdrandom_Click()
txtnumber.text=int(rnd*1000)+1 'The *1000 could be changes to any bigger or smaller number.
End Sub
No comments have been posted about This code generates a random number, could be used in many things.. Why not be the first to post a comment about This code generates a random number, could be used in many things..