can someone fix my vb error???

Posts 1–10 of 10 · Page 1 of 1
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
Why are you trying to import from "User321"? Try changing it to "User32.dll"
Isn't it User32.dll? o.o
/moved to coding help
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
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 --"
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...........
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.
OP post this help in VB section next time..
This thread quit annoys me..

Oh and luls at User321
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
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us