Home Ask Login Register

Developers Planet

Your answer is one click away!

Duffman February 2016

Page down SendKeys not working C#

So a piece of my code is:


This code is sending the number 3 to the program I'm using. The Page Down button, above the arrows on my keyboard is necessary for a program and it has a function... This key has a different function than the Page Down button on the keypad.

Is anyone aware of a way around having SendKeys.SendWait(...) send the Page Down button on the keyboard, rather than the "3" on the numpad?


Duffman February 2016

So my conclusion was quite simple. Using the InputSimulator as TyCobb recommended, I was able to properly simulate virtual key codes, and everything was smooth.

Post Status

Asked in February 2016
Viewed 3,515 times
Voted 4
Answered 1 times


Leave an answer

Quote of the day: live life