Ask your own question, for FREE!
Computer Science 11 Online
OpenStudy (anonymous):

Visual Basic: For an assignment I have to make a application that simulates a rolling pair of dice. So when I click a button it should generate 2 random numbers 1-6. I also have to use pictures (PictureBox Control) to represent the rolled dice.

OpenStudy (anonymous):

This is what I have so far. Private Sub btnRoll_Click(sender As System.Object, e As System.EventArgs) Handles btnRoll.Click Dim intDie1 As Integer Dim intDie2 As Integer Dim rand As New Random intDie1 = rand.Next(1, 7) intDie2 = rand.Next(1, 7) End Sub I am confused on what to do next.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!