Take the 2-minute tour ×


My keyboard


Run time error 31
at line 559

Now, I can't even start MK2MP. Any ideas?



share|improve this question

11 Answers 11

You need to bind your keys in VLC. Other answers are right on this, but were missing a couple details which I am pointing out here.

  1. Start VLC
  2. Click Tools -> Preferences
  3. Click the Hotkeys section near the bottom left.
  4. Find the key you want to bind and double click under the "Global" heading. If you double click anywhere else, you will be binding the wrong keyboard shortcut.
  5. Press your key. VLC should recognize it.
  6. Restart VLC. If you are binding global hotkeys, VLC must be restarted so it can listen for them.

VLC global hotkeys

share|improve this answer
This should be the accepted answer. Worked for me. –  bdwakefield Aug 19 at 15:54



share|improve this answer

Go to General > Hotkeys in Preferences and try to bind your media keys

The menu layout in newer vlc versions has changed and now you need to do the following :

Tools > Preference > Hotkeys from the left hand menu on the window that opens up

vlc menu screenshot

share|improve this answer


share|improve this answer

You might be able to use this article to disable the multimedia keys in Windows :
Disable windows multimedia key shortcuts.

It counsels deleting entries from the registry key of :
so it is advised to first take some precautions.

To a lesser degree, you might also find this article useful :
How to Disable or Enable Windows Hotkeys in Vista,
although it may not apply to your case.

share|improve this answer
up vote 1 down vote accepted

It seems that I can't assign media keys to other actions, even though they aren't associated to anything right now. I've removed ATK Media – which came with my laptop –, too. :/ Sending a feedback to VideoLAN, maybe later versions of VLC will be able to capture these keys.

share|improve this answer
Did you ever end up figuring this out? I'm in the same situation. –  Max Cantor Oct 3 '11 at 23:26
@Max I don't use Windows on my laptop anymore, it runs Arch Linux, and I'm used to the command line, I use cvlc or nvlc usually. Maybe I'll install Windows in VirtualBox in case I need it for something someday. –  nyuszika7h Oct 4 '11 at 16:25
I also recommend mpd/mpc as a fine command line music player. (easy to script, too) –  Max Cantor Oct 4 '11 at 16:34



share|improve this answer




  2. Stop the current DMedia.exe process.






share|improve this answer
Nice find, sadly I can't test it as my new laptop doesn't have media keys. –  nyuszika7h Apr 29 at 16:30


  1. Click Tools and select Preferences

  2. From the left hand side select Hotkeys



  5. Click [Apply]


share|improve this answer

I just had this problem, and it turned out that iTunes advanced setting "enable full keyboard navigation" was checked. unchecked it and the keys worked in VLC again, without having to map them.

share|improve this answer
  2. Double click on the desired action to change


share|improve this answer
Thanks, but this is a very old question. –  nyuszika7h Jun 24 at 10:50

Your Answer


