Sign in to follow this  
Followers 0
bigred

Using a Handle in VB

2 posts in this topic

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



Nevermind, I figuered it out.

Can we not delete thread starting posts?

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  
Followers 0