Results 1 to 6 of 6

Thread: Random Numbers from 0 to &HFFFFFFFF

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2010
    Posts
    75

    Random Numbers from 0 to &HFFFFFFFF

    Hi all

    i want generate hex random values from 0 to &HFFFFFFFF

    but it gives me error overflow 6

    RandomNumberLong = CLng((Upperbound - Lowerbound + 1) * Rnd + Lowerbound)

    what should i do to achieve this because i am getting overflow

    are there any fix for this. or i should use GetTickCount.
    Last edited by Kunical; May 1st, 2013 at 01:22 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width