Sendkeys error 70 permission denied in vb 6.0 on Windows 7 and above Versions
Solution 1 :
your UAC worked for SENDKEY problem in VB on windows 2007 platform. if your turn off your UAC you should be able to use that function.
and make sure of using "Run as administrator " ....
Solution 2 :
Code:
Public Sub Sendkeys(text$, Optional wait As Boolean = False)
Dim WshShell As Object
Set WshShell = CreateObject("wscript.shell")
WshShell.Sendkeys text, wait
Set WshShell = Nothing
End Sub