It depends on your Windows, but it should always be somewhere in Programs/Accessories. Mine is in Programs\Accessories\System Tools.
Once you open it, select the System font, click on the character you want, and in the status bar, the hex code is displayed. Alternatively, you can just do this:
The apostrophes convert the character contained within to it's ASCII code. I don't know why I didn't remember that before. It's much better than using the hex codes, because it allows you to see which character you're actually using. So, you could do the following:
keybd_event('.', NULL, NULL, NULL);
Note: That's the code from your other thread.
keybd_event(VK_SHIFT, NULL, NULL, NULL); // Key down
keybd_event('2', NULL, NULL, NULL); // Key down
keybd_event('2', NULL, KEYEVENTF_KEYUP, NULL); // Key up
keybd_event(VK_SHIFT, NULL, KEYEVENTF_KEYUP, NULL); // Key up