why does SendKeys code generate an error on microsoft vista??
how can i solved this?? please, someone help me..
why does SendKeys code generate an error on microsoft vista??
how can i solved this?? please, someone help me..
SendKeys generates the error because MS in it infinite wisdom missed it/did not want to support it/thought it could be used maliciously/who freaken knows.
To get around it UAC needs to be disabled. May still generate an error in IDE but not with exe. RunAs Admin and several other ways.
Best to replace sendkeys with the SendInput API.
And to be honest, I never really liked sendkeys because the application had to have focus and some of the thing I program have to work in the background.
Good Luck
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.