works perfectly under Windows XP but produces the error in the attached image when I run the app (in the IDE) under Windows 7. Any ideas why?
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
In the FAQ section, there is a topic regarding SendKeys and Vista (should apply to Win7 also)
All right, it says "replace Sendkeys" by API code. Can you remember the appropriate function call required?
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
There are two that I know of: 1) keybd_event 2) SendInput
I've tried them both and they work fine. Thanks.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Thank you, I used the module included there and works perfect. However I think I'd rather use keyb_event, it just requires 3 extra lines -function declaration plus 2 constants.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)