Jump to content
Sign in to follow this  

Using a Handle in VB

Recommended Posts

Private Sub Setup1_Click()
Dim sHandle As String
aix.Opt "WinTitleMatchMode", 4
sHandle = aix.WinGetHandle("TRON 2.0")
aix.ControlMove sHandle, "", "Edit4", 26, 416, 455
aix.ControlMove sHandle, "", "Button9", 551, 416, 60, 20
aix.ControlShow sHandle, "", "Button10"
aix.ControlEnable sHandle, "", "Button10"
aix.ControlSetText sHandle, "", "Button10", "Send"
aix.ControlMove sHandle, "", "Button10", 486, 416, 60, 20
End Sub

What am I doing wrong here?

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...