chrisrulz911 Posted September 26, 2006 Share Posted September 26, 2006 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 IntegerStep 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 IfStep 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 IfAdd another textbox named Text2, and use F2 to control the second spammer... I might add more tutorials later Quote Link to comment Share on other sites More sharing options...
Kyougi Posted September 26, 2006 Share Posted September 26, 2006 Eww, VB. Script looks familiar. Quote Link to comment Share on other sites More sharing options...
chrisrulz911 Posted September 29, 2006 Author Share Posted September 29, 2006 vb is the easiest language lol but the noobiest Quote Link to comment Share on other sites More sharing options...
interval Posted December 6, 2006 Share Posted December 6, 2006 vb is the easiest language lol but the noobiest No kidding. Pretty much all the noobs on Planet-source-code use it. Quote Link to comment Share on other sites More sharing options...
Dragonfire Posted January 12, 2007 Share Posted January 12, 2007 hey, i need a bit of help in vb. i have learned the basics. i want to know how you can put the open and save option in the program i tried loads of things, just cant figure it out Quote Link to comment Share on other sites More sharing options...
the_god_2000 Posted March 5, 2007 Share Posted March 5, 2007 is visual basics pretty much quick basics is visual basics pretty much quick basics Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.