Wilson,
Stuffing keys into the buffer is just not the best solution to the problem you are having. I've already given you two alternate solutions that would work perfectly well.
>Is there is an API function to place a char in the keyboard buffer.
>I have saw that microsoft provided a keyboard similar called on-screen keyboard that works fine to input a char into the numberic field.