

Now, just share with your friends and be happy! Put an interval (1 is the fastest speed 1000 = 1 click per second), hover mouse in "Test Click" and press F3 to start. You're done your Auto-Clicker! Just press F5 (or click in the green arrow) for debug. In top (but under the tabs), you will see a bolt.Ĭlick in the bolt and select KeyDown. Okay guys! This is the last part before debug the project.ĭouble click on Form1. Timer1.Interval = ((TextBox1.Text) * (1))ĭouble Click on Test Clicker and write this: MsgBox("Please, put a valid number value", MsgBoxStyle.Critical + MsgBoxStyle.OkOnly, "ERROR") Now, go back to the design tab and double click on Start = F3 and write this:ĭouble click on Stop = F4 and write this: Now, double click on Timer1 and write this: Mouse_event(&H4, 0, 0, 0, 1) ' cursor goes up again Mouse_event(&H2, 0, 0, 0, 1) 'cursor will go down (like a click) MsgBox("My first auto-clicker - ", MsgBoxStyle.Information + MsgBoxStyle.OkOnly, "") user32 is for x32 computers - change to user64 to 圆4 computers.In the top of the code (under Public Class Form1) write this:ĭeclare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long) Note Select " Show Ico n" and make it false, too.In Form1 Properties, select " MaximizeBox" and make it False.Name Form1 to (Your name here)'s Auto-Clicker.If you have a GroupBox, name it to Auto-Click.Okay, you've created a new project! Step 2 What's Needed Now, select Windows Forms Application and name it whatever you want. Do a New Project (File > New Project or Ctrl+N) Just point your mouse on your screen and turn it on! It's very useful for computer games (FPS, MMORPG, and others).Ĭlick here to download Visual Basic 2008 Express Edition Step 1 Open a New Project

It's a very good AFK (away from keyboard) program.

An auto clicker is a very useful program that makes your mouse click many times automatically, wherever it's pointed. This article will show you how to make an auto clicker program in Visual Basic Express Edition 2008.
