There is an Speech SDK you can download from Microsoft.

I assume that this has all the objects you need to accomplish this.

This technology isnt great yet to say the least. Play areound wiht speech recognition on WXP to see what I mean.