Jump to content

AutoItX3.dll and Vb.net 2005


analyzerx
 Share

Recommended Posts

Hi, I trying to open a window and type something in it using AutoItX3.dll and vb.net 2005

cAutoit = New AutoItX3Lib.AutoItX3 'create a new instance
        Dim intResult As Integer

        intResult = cAutoit.Run("mpez.exe")
        intResult = cAutoit.WinWait("mpez")
        intResult = cAutoit.WinWaitActive("mpez")
        cAutoit.Send("mpez{ENTER}")

should do:

run mpez.exe

wait until title mpez is active and type mpez{enter}...

This goes up to where the program loads and then the vb project freezes...

how can I do this? :)

thanx

;)

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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