Hey, I'm new to coding, started yesterday. Been experimenting and i'm now trying to make a scare program, basicaly when they click a button, it screams, and displays tons of message boxs, Is there a way to set the position of the message box? so I can make random variables have have tons of messageboxs popping up all over the screen?
s Form1
Dim TimeGoneBy As Integer = 0
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
My.Computer.Audio.Play(My.Resources.funny, _
AudioPlayMode.Background)
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If TimeGoneBy >= 0 Then
MessageBox.Show("Spam")
End If
End Sub
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class