Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Ensure NUMLOCKS is ON
Message
From
15/10/2010 04:20:33
 
 
To
14/10/2010 22:40:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01485529
Message ID:
01485563
Views:
54
TC,

This did not work either. =( Thanks just the same. =)
DECLARE keybd_event IN user32;
    SHORT bVk,;
    SHORT bScan,;
    INTEGER dwFlags,;
    INTEGER dwExtraInfo
 
#DEFINE  VK_NUMLOCK  144
 
IF ! NUMLOCK()
     = keybd_event(VK_NUMLOCK, 0, 2, 0)
     = keybd_event(VK_NUMLOCK, 0, 0, 0)
ENDIF
Dennis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform