I'm very new to VB.
I need to create a very simple program that acts on function key 11 (F11).

All it does is when F11 is pushed, it does an MCI command "Set cdaudio door open"
Upon another F11 is does "Set cdaudio door closed"
and then goes back to the first waiting for another F11.
That's all.
It just toggles between the two.
Since I'm real new at this, can someone tell me the easiest way to do this, or if there's an example out there that I can use?