Results 1 to 10 of 10
  1. #1
    rncdpnk308's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    2

    can someone fix my vb error???

    Code:
    Public Class spammer
    
        Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
    
        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}")
      Timer1.Stop()
      Timer2.Start()
        End Sub
    
        Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
      SendKeys.Send(TextBox2.Text)
      SendKeys.Send("{Enter}")
      Timer2.Stop()
      Timer3.Start()
        End Sub
    
        Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
      SendKeys.Send(TextBox3.Text)
      SendKeys.Send("{Enter}")
      Timer3.Stop()
      Timer1.Start()
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      Timer1.Start()
      Timer1.Interval = TextBox4.Text
        End Sub
    
        Private Sub TextBox5_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox4.TextChanged
    
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
      Timer1.Stop()
      Timer2.Stop()
      Timer3.Stop()
        End Sub
    
        Private Declare Function GetAsynckeystate Lib "user32" (ByVal vkey As Long) As Integer
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
      Timer4.Start()
        End Sub
        Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
      Dim hotkey1 As Boolean
      Dim hotkey2 As Boolean
    
      hotkey1 = GetAsynckeystate(Keys.A)
      hotkey2 = GetAsynckeystate(Keys.L)
    
      'spammer(start)
      If hotkey1 = True Then
        Timer1.Start()
        Timer2.Interval = TextBox4.Text
        Timer3.Interval = TextBox4.Text
    
      End If
      'spammer stop
      If hotkey2 = True Then
        Timer1.Stop()
        Timer2.Stop()
        Timer3.Stop()
      End If
    
        End Sub
    
    End Class


    i keep gettin this error



    please someone help its pissin me the fk off

  2. #2
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    Why are you trying to import from "User321"? Try changing it to "User32.dll"

  3. #3
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Isn't it User32.dll? o.o
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  4. #4
    AVGN's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Making America Great Again.
    Posts
    15,451
    Reputation
    1549
    Thanks
    6,234
    /moved to coding help



    ^Thanks to RJ^




  5. #5
    rncdpnk308's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    2
    it is user32 i tried downloading a new user32 file but i couldnt replace it so i named it user 321 but i still have the issue any ideas? im using win xp 32bit sp3

  6. #6
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    Quote Originally Posted by rncdpnk308 View Post
    it is user32 i tried downloading a new user32 file but i couldnt replace it so i named it user 321 but i still have the issue any ideas? im using win xp 32bit sp3
    Because it's already there --"

  7. #7
    rncdpnk308's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    2
    ok lol thanks freedom but why wont it work? this is pissin me off i want to make a simple freakin spammer for in game and it wont let me put hotkeys idk wtf is up with it is there another way to put a hotkey in?if so can u tell me the code and where to put it cuz im a noob at this and am trying to learn i looked up every [tut] i could find and they all say to use getasynckeystate...........

  8. #8
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,035
    Reputation
    340
    Thanks
    2,784
    My Mood
    Sad
    Quote Originally Posted by rncdpnk308 View Post
    ok lol thanks freedom but why wont it work? this is pissin me off i want to make a simple freakin spammer for in game and it wont let me put hotkeys idk wtf is up with it is there another way to put a hotkey in?if so can u tell me the code and where to put it cuz im a noob at this and am trying to learn i looked up every [tut] i could find and they all say to use getasynckeystate...........
    Try user32.dll.

  9. #9
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    OP post this help in VB section next time..
    This thread quit annoys me..

    Oh and luls at User321

  10. #10
    ChanceOfHax's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    PlayerInfo* pPlayer = SearchPlayerByIndex(ChanceOfHax);
    Posts
    113
    Reputation
    3
    Thanks
    5
    My Mood
    Sneaky
    Ok first u dont need download a user file cause its standard by windows in system32 folder^^

    Ok than u dont have to do this .....\user32.dll it is .....user32.dll

    Than it works

Similar Threads

  1. [Solved] Can someone fix this code for me? Or tell me what I'm doing wrong?
    By shanesurk500 in forum Call of Duty Black Ops GSC Modding Help & Discussion
    Replies: 5
    Last Post: 02-26-2011, 03:43 PM
  2. Can someone help me fix
    By calvinchau309 in forum Combat Arms Coding Help & Discussion
    Replies: 8
    Last Post: 02-20-2011, 04:18 AM
  3. Can someone please help me fix these codes?
    By o0OpurezO0o in forum Visual Basic Programming
    Replies: 12
    Last Post: 11-01-2010, 09:21 AM
  4. Error, can someone help me with this error.
    By tien2005 in forum CrossFire Help
    Replies: 5
    Last Post: 10-03-2010, 03:02 PM
  5. Can someone help me fix computer
    By KennyPwnz in forum Hardware & Software Support
    Replies: 4
    Last Post: 08-18-2010, 11:07 PM