Jump to content
Sign in to follow this  
analyzerx

AutoItX3.dll and Vb.net 2005

Recommended Posts

analyzerx

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

;)

Share this post


Link to post
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
Sign in to follow this  

×