KeyUp event only fires when the key is released. It sounds like you want to handle the
KeyDown event instead.
Jalapeno Bob wrote:The source code is lost/unavailable.
Is it a .NET application? If so, and if the consultant didn't use an obfuscator, you might be able to use a decompiler to see what the code is doing. It won't give you a perfect copy of the original source, but it might help.
Free .NET decompiler :: JetBrains dotPeek[^]
JustDecompile .NET Assembly Decompiler & Browser - Telerik[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."