I am taking an Intro to VB.NET (08) and we are working out a game.
One of the buttons I have assigned this code...
If DieThrowOneInteger = 1 Then
Else : DieThrowTwoInteger = 1
MessageBox.Show("You threw a one so you lost all your points for this turn.")
End If
Basically, I am trying to get two buttons to display the messageBox when the values of the Integers of the two buttons become a 1. Instead when I run the code every value is triggering the messageBox.
If possible please explain what doing incorrectly. Thanks for any assistance in advance and if further
explaination is need please SMACK ME!!!!
Edited by Alexander, 21 October 2010 - 08:40 PM.
Please use [code] tags rather than blue text


Sign In
Create Account


Back to top









