I'm building a (Web/WinForms Application I didn't decide yet) and I have a running simple WinForms Application that I couldn't access through my new application by any means and I just want to read some values and maybe edit some values (Labels, Buttons, some trivial stuff). so I used Spy++ as advised in this question.
So, I was able to see the values that I need to read/edit through this great tool. and I was able to edit some values (Like hide, Uncheck, Disable, etc on some labels and buttons) and they reflected on the application.
So I want to move to the next step and I was advised that I have two options. Whether Win32 or UI Automation. I have no clue about both of them, so a little guidance would be great.
I just have 3 more questions regarding this problem:
which would be better to use against WinForms and why?
and does any of the two options can be used through a WebApplication or both options need to be implemented within a WinForms Application ?
Does any of those options have a limitation in editing values ?