Jump to content

Recommended Posts

Posted

Hello,

I made an app with visual basic 6.0 but i have a problem.

Source Code:

Dim Komut As New AutoItX3Lib.AutoItX3

Private Sub Form_Load()
Komut.Send ("{UP}")
Komut.Sleep (1000)
Komut.Send ("{UP}")
Komut.Sleep (7000) ' THE BUG IS HERE  :o 
Komut.Send ("{LEFT}")
Komut.Sleep (1000)
Komut.Send ("2")
Komut.Sleep (300)
Komut.Send ("1")
Komut.Sleep (2000)
Komut.Send ("{RIGHT}")
Komut.Sleep (6000)
Komut.Send ("2")
Komut.Sleep (300)
Komut.Send ("2")
Komut.Sleep (300)
Komut.Send ("{DOWN}")
Komut.Sleep (1000)
Komut.Send ("{DOWN}")
Komut.Sleep (9000)
End Sub

If use "Komut.Sleep (7000)" function then app will crash.

Please Help.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...