Can any body give me the code that will create a six digit random number....and place it in a text box

The number must be random everytime the button is clicked??

I code some stuff but it says overflow!!!

Cheers

Rhys