sending keys

This is a discussion on sending keys within the Windows Programming forums, part of the Platform Specific Boards category; I just can't get it to work... can anyone tell me the code they would use to send a key ...