LostGamerz
[TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008  1296785282
LostGamerz
[TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008  1296785282
LostGamerz
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomePinoy VendeTaLatest imagesRegisterLog in

 

 [TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008

Go down 
AuthorMessage
Crowd™
Administrator
Administrator
Crowd™


Join date : 31/01/2011
LostPoints : 10383
Thanks & Rep : 28
Posts : 229
Age : 33
Location : 6ret
Warning Level : [TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008  WarningBar-Gloss1

[TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008  Empty
PostSubject: [TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008    [TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008  Icon_minitimeSun Aug 05, 2012 3:58 am

Alright im Going to show you how to make a basic auto-clicker in vb.net.

First make a New Windows Form application.
Name it "Autoclicker"
(Or Whatever you want the name to be)

Lets get started,

Make 5 buttons, change the text of them to
Start
Stop
Slow
Normal
Fast


Now position them where you want them if you haven't already.

Now add a timer,

Double Click "Timer1" At the bottom to bring up the code for it.
Put this in
Code:
mouse_event(mouseclickup, 0, 0, 0, 0)
mouse_event(mouseclickdown, 0, 0, 0, 0)

That will simulate a Click.

Now At the top where it says
Public Class Form1

Make it
Code:
Public Class Form1

Private Declare Sub mouse_event Lib "user32" (ByVal dwflags As Integer, ByVal dx As Integer, ByVal dy As Integer, ByVal cbuttons As Integer, ByVal dwextrainfo As Integer)
Private Const mouseclickup = 4
Private Const mouseclickdown = 2

Double click the button "Start"
and add this code

Code:
Timer1.enabled = True()

Now double click Stop and put this code in

Code:
Timer1.Enabled = False()

Now double Click Slow
Add This code

Code:
Timer1.interval = Enter how fast you want it to click in milliseconds, ex 500

And the same for normal, and fast.
I recomend

Slow
Code:
Timer1.interval = 2000

normal
Code:
Timer1.interval = 500

Fast
Code:
Timer1.interval = 10

Or if you want the user to enter it manually dont add the slow, normal and fast buttons,

Instead add a textbox
Then Double Click Start
And put this in,

Code:
Timer1.Interval = (Textbox1.text)
Timer1.Enabled = True


Thanks for reading and i hope you learned a little about vb.net from this!!
Back to top Go down
https://pinoyvendetta.forumtl.com
 
[TUT] Make a Autoclicker in VB 2010/2008 [TUT] Make a Autoclicker in VB 2010/2008
Back to top 
Page 1 of 1
 Similar topics
-
» [TUT]How to make a Loader For Your Program
» Make Money with your Pictures & Videos on Jokeroo

Permissions in this forum:You cannot reply to topics in this forum
LostGamerz :: Coding Section :: Visual Basic and .NET Framework-
Jump to: