Hacer que pare las inputbox
Publicado por Emanuel (1 intervención) el 02/09/2015 04:08:52
Estoy haciendo un trabajo para la escuela sobre un juego de preguntas y respuestas, si responde bien la pregunta sigue con la otra pregunta y así, pero cuando se responde mal una pregunta te manda al otro formulario que dice que perdiste, el PROBLEMA es que cuando te manda al otro formulario te vuelve a salir la pregunta siguiente, quiero saber como parar las inputbox en ese momento indicado en el que te mueve al otro formulario
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Respuesta = InputBox("¿Cuanto es 7 x 7?")
If Respuesta = 49 Then
My.Computer.Audio.Play(My.Resources.You_win_sound_effect_5, AudioPlayMode.Background)
PictureBox2.Left = PictureBox2.Left + 90
Label1.Text = 100
Else
MsgBox("Respuesta incorrecta, has perdido :(")
Respuesta = ""
Me.Close()
Me.Hide()
Perdiste.Show()
End If
Respuesta = InputBox("¿Cual es la capital de Japon?")
If Respuesta = ("Tokio") Then
My.Computer.Audio.Play(My.Resources.You_win_sound_effect_5, AudioPlayMode.Background)
PictureBox2.Left = PictureBox2.Left + 90
Label3.Text = 200
Valora esta pregunta


0