Hi Brandon,
As far as I know, there is not a way to interrogate the keyboard directly
from .NET. You can, however, use the GetKeyState( ) Windows API. Here is
the declaration:
Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As
Long
A function to give you the state of the scroll lock key:
Private Function IsScrollLockOn( ) As Boolean
Return Convert.ToBoolean(GetKeyState(Keys.Scroll) Mod 2)
End Function
HTH,
Derrick