why do you want that? if you dont want them to be able to close the window just do
e.cancel under form1.closing
but yeah..thats probably possible..i just dont know how to do that
anyone else know?
OK so i need help, i am making a window spammer, basically what i want it to do is to just make windows keep popping up, i have a few other versions of them automatically doing it but this one i want to be different.
This is what each window will look like:
How can i make it so that the users mouse will keep returning to the same position so that they cant click the cross at the corner to exit.
My overall plan is to make them only able to click EXIT.
Therefore multiple windows popping up
is it possible?
Last edited by Chester Bennington; 12-15-2009 at 10:16 AM.
why do you want that? if you dont want them to be able to close the window just do
e.cancel under form1.closing
but yeah..thats probably possible..i just dont know how to do that
anyone else know?
EDIT: never mind i got it , i just turned no border off so theres no title strip xD
Last edited by Chester Bennington; 12-15-2009 at 10:40 AM.
that should work. e.cancel needed a value. true is the value it needed.Code:Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing e.Cancel = True End Sub
ahhh ok..
e.cancel = true was all you needed though
Last edited by XGelite; 12-15-2009 at 11:27 AM.
But if you wanted to send the mouse to random places then you go like this:
Code:Dim Randomshit As New Random Dim randomNum As Integer = Randomshit.Next(0, 1200) Dim RandomNu2 As Integer = Randomshit.Next(0, 800) Cursor.Position = New Point(randomNum, RandomNu2)
XGelite (12-15-2009)
thanks for the help guys