|
-
May 19th, 2000, 11:42 PM
#1
Thread Starter
Fanatic Member
hi,
i used this code
Private Sub Command1_Click()
Dim Num1%, Num2%
Randomize Timer
Num1 = Int((6 * Rnd) + 1)
Num2 = Int((6 * Rnd) + 1)
Image2.Picture = LoadPicture("C:\My Documents\vb\Total Domination\dice\dice " & Num1 & ".jpg")
Image3.Picture = LoadPicture("C:\My Documents\vb\Total Domination\dice\dice " & Num2 & ".jpg")
End Sub
to create the random dice
but now i need something that adds up the dice and displays the answer in a label, i am leading this to once the label has the number it has to move an object to set of co-ordinated, that coincide with the number on the dice
PLEASE HELP ME !!!
Thanks
Merlin ?
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
[ Galahtech.com] | [ My Site] | [ Fishsponge] | [ UnixForum.co.uk]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|