Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: Numlock and Capslock not working properly in VBA

$
0
0
Hi there, Users are now accessing GP via Citrix and it seems that the Numlock and Caplock keys seem to randomly switch off. I have tried to switch them on in the code by using :- SendKeys "{NUMLOCK}" or CreateObject("WScript.Shell").SendKeys "{NUMLOCK}", True but this seems to correct the problem in some cases but not others. Is the code above switching Numlock on or just toggling it? How can i check if Numlock is actually on or not? I have tried using GetKeyState but get an error using this function. What Reference in VBA needs to be ticked to use this? Any ideas would be greatly appreciated!! Jo

Viewing all articles
Browse latest Browse all 38722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>