32- Auto Typer

0
469

This Visual Basic tutorial is all about Auto Typer.
Auto Typers are very common in the web and there are instances that some people charge money for them.

 

Today, I will teach you how to make an Auto Typer. With this, you can create a customized Auto Typer that you can share  with your friends.

This tutorial will cover how to Send Keys.

 

Let’s begin:

  • Open the Visual Basic, select “File” on the menu, hit new and create a new project.
    01_helloworld
  • The New Project dialog will appear.
    create2s
    Select “windows” in the project types, hit the “windows form application” in the templates and hit “ok“.
  • Add two buttons, a timer and a textbox and the form will look like this.

autotypeF1

  • Add the following code in the code editor.
[vb] Public Class Form1

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
SendKeys.Send(TextBox1.Text)
SendKeys.Send(“{Enter}”)
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Timer1.Start()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Stop()
End Sub
End Class
[/vb]

  • This will be the output when you run the program.

autotypeF2

 

Readers might read also:

 

 

Facebook Comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.