In short: I have a VB6 form with ActiveX control that contains buttons, and I would like to create automatic tool that can click this buttons using C#.
I tried to use reflection for this issue, but I cannot access the form.
The general direction I was suggested was to use window API to access the form, but it seem very “expensive” solution.
Does anyone familiar with this subject?
Thank you
Can you use AutomationElement from .net?
To test this:
download UiSpy.zip link taken from this question
Get the form open, activate the hover mode. If you “see” the button it should be easy to use ] AutomationElement to actually send a click to it.