Jump to content

[Tut] Auto-Spammer Tool in VB6


Recommended Posts

So this tutorial is mainly useful for games, like if you're selling something.

 

This tutorial I wrote myself..Props to me if you distribute it...

 

Level: Medium

 

Step 1:

 

Make a timer, and a textbox on you're form..Make sure it's named Timer1 and the textbox's name is Textbox1. Set your timer's interval to 150, by going to the properties menu, and changing it.

 

Step 2:

 

Double click your form...

 

Step 3:

 

Scroll to the top of your form's code and add this:

 

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer

Step 4:

 

Exit out of the code window, and back to your form window...

 

Step 5:

 

Double click you're timer, and add this:

 

If GetAsyncKeyState(vbkeyF1) Then
SendKeys Text1.text
SendKeys "{Enter}"
End If

Step 6:

 

Exit out of the code window, and try it out by running your program, typing something in the textbox, and pressing F1

 

-----

 

I hope I was specific enough, and if you want multiple spammers:

 

If GetAsyncKeyState(vbkeyF1) Then
SendKeys Text1.text
SendKeys "{Enter}"
End If
If GetAsyncKeyState(vbkeyF2) Then
SendKeys Text2.text
SendKeys "{Enter}"
End If

Add another textbox named Text2, and use F2 to control the second spammer...

 

I might add more tutorials later

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...