Sign in to follow this  
Followers 0
clevername47

How to get text of VB6 controls?

7 posts in this topic

Does anyone know how I can get at the text of some standard VB6 label controls? The window info tool does not see their text. Thanks!

Share this post


Link to post
Share on other sites



Already did. That's why I said "the window info tool does not see their text" - the standard methods don't work here.

Share this post


Link to post
Share on other sites

Already did. That's why I said "the window info tool does not see their text" - the standard methods don't work here.

I see, sorry I missed that.

I'm currently writing some VB6 code for work and I'm able to see the text on buttons, yet nothing else.

It seems looks like the word Thunder is appended to the beginning of the class and AutoIt Window Info tool doesn't know how to read it.

James

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I'm currently writing some VB6 code for work

I'm sorry :graduated:

I'm able to see the text on buttons, yet nothing else.

It seems looks like the word Thunder is appended to the beginning of the class and AutoIt Window Info tool doesn't know how to read it.

Yep, this is the same thing I'm seeing. Any ideas? Edited by clevername47

Share this post


Link to post
Share on other sites

Thank you Posted Image

I think this occurs because VB6 uses old-school controls unless you apply a custom manifest for the XP ones.

James

I'm not familiar enough with VB to know how to do that, but I can't make any changes to the VB application anyway.

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