Is it possible to write a VB program that detects the name of a window and use it to interact with that window(finding captions or clicking buttons)?
What API functions should I use?