Right click your sound devices, right click the microphone your using and set it as Default Device & Default Communications Device.
Also, in-game, make sure you're pushing Caps Lock (by default), and you're in the correct channel. To change channel press comma and full stop keys.