I was searching the web, tried diffrent applications for detecting keycodes and still couldn't find the right keycode for "<" (">") button . I always get keycode "226" for that button, but i tried it in my application and it doesnt work(doesnt do anything, like open a msgbox, if i press the button). If it might help i live in europe .
So now i ask you, could you help me find the keycode for that button ?

Could you show the code you are using and define the context in which you are looking for the key code? Going by keyboard scan codes is notoriously unreliable. There's better ways to tell if a specific key was pressed, but in order to show you the best we have to know what you're trying to do.

I have rezultat declared as integer, and for GetAsyncKeyState you prolly know what that is XD
This is just one piece of code, i still have for CAPSLOCK-true SHIFT-false,
CAPSLOCK-false SHIFT-true, CAPSLOCK-false SHIFT-false

Actually no, I can't fathom what you'd want to use GetAsyncKeyState() for in a legitimate .NET application. Enlighten me.

What I can say is the < key is apparently one of the OEM keys, which means the key code for it can vary by region and keyboard. It's actually not even required to be present on the keyboard. I'm not aware of the mechanism that might be used to determine what its key code should be or if one even exists.