Results 1 to 2 of 2
  1. #1
    lol1362's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    129
    Reputation
    10
    Thanks
    15
    My Mood
    Cheerful

    Can you guys help me fix hotkey code for spammer?

    Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Timer1.Enabled = True
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    Timer1.Enabled = False
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    SendKeys.Send(TextBox1.Text)
    SendKeys.Send("{Enter}")
    End Sub

    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
    Dim F4 As Boolean
    F4 = GetAsyncKeystate(Keys.F4)
    If F4 = True Then
    Timer1.Enabled = True
    End If
    Dim F5 As Boolean
    F5 = GetAsyncKeystate(Keys.F5)
    If F5 = True Then
    Timer1.Enabled = False
    End If
    End Sub
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Integer) As Integer
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Timer1.Interval = NumericUpDownValue()
    End Sub
    End Class






    Can you guys help me?
    Do I have a signature????Wait,isn't this two sentences ??

  2. #2
    Mayion's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Bed
    Posts
    13,504
    Reputation
    4018
    Thanks
    8,373
    My Mood
    Twisted
    Code:
    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Keys) As Boolean
    If GetAsyncKeyState(Keys.F4) Then
          Timer1.Enabled = True
    End If
    If GetAsyncKeyState(Keys.F5) Then
          Timer1.Enabled = False
    End If
    End Sub
    Credits: Jorndel.
    @ @lol1362
    I do not use any type of messenger outside of MPGH.
    Inactive but you can reach me through VM/PM.










     

    Donator - 30 August 2013
    Battlefield Minion - 26 October 2013

    Blackshot Minion - 14 January 2014/16 September 2014
    Minecraft Minion - 7 February 2014/16 September 2014
    WarRock Minion - 23 February 2014
    League of Legends Minion - 21 March 2014

    Minion+ - 15 May 2014
    Other Semi-Popular First Person Shooter Minion - 8 August 2014
    CrossFire Minion - 23 October 2014
    Programming Section Minion - 13 November 2014
    Marketplace Minion - 7 December 2014

    Official Middleman - 7 December 2014 - 27 June 2015
    Moderator - 29 December 2014
    Project Blackout Minion - 10 January 2015
    News Force Interviewer - January 2015
    Steam Games Minion - 21 March 2015
    Dragon Nest Minion - 31 March 2015
    Publicist - April 2015 - 21 September 2015
    Global Moderator - 25 August 2015
    Super User - 13 August 2016



Similar Threads

  1. [Solved] Can you guy help me ?
    By anhlapit253 in forum CrossFire Help
    Replies: 3
    Last Post: 06-30-2012, 05:58 PM
  2. Can you guys help me with something?
    By -ParallaX in forum General
    Replies: 29
    Last Post: 05-19-2011, 09:48 AM
  3. can you guys help please
    By Mrzxz in forum Call of Duty Black Ops Help
    Replies: 2
    Last Post: 02-16-2011, 07:36 AM
  4. Can someone please help me fix these codes?
    By o0OpurezO0o in forum Visual Basic Programming
    Replies: 12
    Last Post: 11-01-2010, 08:21 AM
  5. can you guys help me with operetors ?
    By thekm1994 in forum C++/C Programming
    Replies: 10
    Last Post: 06-14-2010, 12:31 AM