Thread: Help Me!

Results 1 to 8 of 8
  1. #1
    Chester Bennington's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    England
    Posts
    5,651
    Reputation
    389
    Thanks
    717
    My Mood
    Cheerful

    Help Me!

    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.

  2. #2
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    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?

  3. #3
    Chester Bennington's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    England
    Posts
    5,651
    Reputation
    389
    Thanks
    717
    My Mood
    Cheerful
    Quote Originally Posted by XGelite View Post
    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?
    whats e.cancel?

    whats it do?

    lol im so nub


  4. #4
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by reeciboi View Post
    whats e.cancel?

    whats it do?

    lol im so nub

    it cancels the form closing.
    so if you press the exit button, it does nothing.

  5. #5
    Chester Bennington's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    England
    Posts
    5,651
    Reputation
    389
    Thanks
    717
    My Mood
    Cheerful
    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.

  6. #6
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by reeciboi View Post
    ok i tried putting e.cancel into FormClosing and it dont work.


    it just says:
    Error 1 Property access must assign to the property or use its value.

    I tied Exit.cancel and more but it dont fukin work


    plz explain in detail, im still getting to know the basics
    Code:
     Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
       
            e.Cancel = True
         
     End Sub
    that should work. e.cancel needed a value. true is the value it needed.

    Quote Originally Posted by reeciboi View Post
    EDIT: never mind i got it , i just turned no border off so theres no title strip xD
    ahhh ok..
    e.cancel = true was all you needed though
    Last edited by XGelite; 12-15-2009 at 11:27 AM.

  7. #7
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    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)

  8. The Following User Says Thank You to Lolland For This Useful Post:

    XGelite (12-15-2009)

  9. #8
    Chester Bennington's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    England
    Posts
    5,651
    Reputation
    389
    Thanks
    717
    My Mood
    Cheerful
    thanks for the help guys

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 06:12 PM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM