Also, after doing some research I found out that 0x20 can be used to SendInput the key A in a video game that I play, and 0x1E does the same with D (but not working with GetAsyncKeyState). SendInput with 0x41 and 0x44 are only working in things that I can type in and not things that are used to perform a different action.
Here are some of the things I tried while researching the problem that did not work including the code above:
Determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState.
You have to make sure the letters are being pressed. Try holding A before running your program and see if the results change. I don't know much about any of the windows functions, so that might not even solve it.
The function is in a while loop so it is constantly being called. I know it works for all the Virtual Keys with a name for them like 'VK_LSHIFT'. But the letters will not work. I'm pretty sure the solution to this problem is that either I need to use a different value for the letters, or I need to find another library to use. In the case that I need to download a new header and lib file, I might need help installing them on VB 2012.