VB.net 2005 - Set Focus on Control (External Program)!
Posted on 2014-12-23
OK so I'm trying to write a program that will simulate an operator's key strokes because we have a program that we would like to run overnight, but we don't have an operator available to start the program at midnight. So I've been able to execute the program and set focus on it...but I need to set focus on a specific control within the program...how can I do this?
I need the focus to be on the checkbox of the external program so I can uncheck the box then click OK.
I can't seem to get the focus on the checkbox...how can I get the checkbox name and set focus on it then use sendkeys to uncheck the box?