What is the best way to create a random number for a file? For example, I would like the file name to be "C:\Test42356.tif". The file is a temp file which will be later deleted from the drive.
From MSDN I could try this:
MyValue = Int((100000 * Rnd) + 1)
' Generate random number between 1 and 100001.
Just wanted your advice.
Thanks!
From MSDN I could try this:
MyValue = Int((100000 * Rnd) + 1)
' Generate random number between 1 and 100001.
Just wanted your advice.
Thanks!