I\'ve got iTunes running and the media buttons on my computer work with it. I\'ve installed mmkeys.dll which has been recommended for making iTunes work with media keys in t
This is probably due to Visual Studio running as an Administrator, and whatever software controls your keyboard media buttons OR the media player itself does not run as admin.
As I was answering this question I decided to try opening iTunes as an administrator, and that solved the problem for me.
To make a program always open in admin mode:
After you run & close the program for the first time with these settings, make you you tell it that the program worked correctly so that it will keep these settings.