Check out what user have clicked or write on other program. Then record this and next time do same thing from record?
It's easy to send commands to another program but how to "listening".....?
Printable View
Check out what user have clicked or write on other program. Then record this and next time do same thing from record?
It's easy to send commands to another program but how to "listening".....?
In order ro handle other programs messages you will need to subclass the programs windows, i.e. you will need a standard dll (made in C++,ASM,Delphi).
But it is not possible by using API??
Not from VB. In order to have control of another window's messages, you'd have to subclass it. Unfortunately, VB is not capable of subclassing windows outside of it's own threads. C++ is capable of it though, using a dll, as Vlatko has stated.