次の方法で共有


Small Basic Troubleshooting: Sound.Play doesn't work on some versions of Windows 10

Issue: Sound.Play doesn't work on some versions of Windows 10. Specifically, it is no longer working for WAV files and MP3 files. (But built in sounds work fine, such as Sound.PlayBellRing() ).

Windows 10 Enterprise and Windows 10 Pro LTSB (Long Term Service Branch) editions do not include Windows Media Player.

 

If you are running Windows 10 N, K, or KN editions, Windows Media Player is not included. You will need to download and then install the Windows Feature Pack.

  1. If you can't find it, press Windows key + R
  2. Type: optionalfeatures.exe
  3. Press Enter.
  4. Expand Media Features.
  5. Make sure Media Player is checked.

Once Windows Media Player is installed on Windows 10, then Sound.Play will work as expected.

.

Anybody else run into this? Leave a comment!

.

Have a Small and Basic Christmas and Holiday Season!

   - Ninja Ed

See Also

Comments

  • Anonymous
    December 22, 2016
    This program work for me, on Windows 10. You must first set mp3 and wav files extension to be play by windows Media Player version 12 by default . When it's done import this Small Basic player : program no: SXX889It will play ( you must be online ) a song by Matteo Carcassi, classic guitar, title is: Op. 59 Larghetto no. 28