View Single Post
  #1 (permalink)  
Old 06-10-2007, 05:33 PM
livins4christ
Posts: n/a
[SOLVED] Program in Visual Basic 6.Net?

Is is possible to create a program that will act as though your pressing the left and right keys?

(I ask because I have another game that I have to press the left and right keys as fast as possible. )
This is what I tried but it didn't work!

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim shoCount As Integer
Timer.Enabled = True
If Timer.Enabled = False Then
For shoCount = 1 To 600
ChrW(Keys.Left)
ChrW(Keys.Right)
Next
End If
End Sub


End Class

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!