web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Numlock and Capslock not working properly in VBA

(0) ShareShare
ReportReport
Posted on by 1,639

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

*This post is locked for comments

I have the same question (0)
  • Harold Worby Profile Picture
    1,331 on at

    See support.microsoft.com/.../179987

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans