Ask your own question, for FREE!
Computer Science 10 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!
Latest Questions
Arriyanalol: i need help
3 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
3 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!