Black and White Inc logo

PlaySound replaces Beep

In the old DOS days there was a program called Beep.exe that made the PC speaker beep when you ran it. It no longer works in Windows, so I wrote this simple utility to play a sound file. You can specify the sound file, and the time delay before playing it.

The sample download includes "torvalds-says-linux.wav" which is famous in the Linux community but not often heard on a Windows PC. To install it, extract the ZIP file contents to a convenient location, and create a shortcut to PlaySound.exe. You'll need the Visual Basic 6 Runtime libraries, but try running it first because most likely they are already installed.

Next, edit the shortcut properties to include the name of the sound file you wish to play. By default, Windows keeps its system sounds in C:\Windows\Media so if you don't specify a file path, the program will try finding the file there. In the example shown, the "tada.wav" file will be played, with no time delay. The time delay is specified after the file name.

If you specify the delay time as a -ve number, then a "countdown" progress bar is displayed on the screen while the time delay is in progress. The current date and time is also shown. A positive number omits the display, and the program runs with no graphical display at all.

You can Install Programdownload the setup program for PlaySound Version 1.0 build 25 (1667kb), which works on Win98, WinXP, Windows Vista, and Windows 7. I have not tested it on Windows 2000. If you are willing to sign my standard Adobe Acrobat Portable Documentnon-disclosure agreement you can have the ZIP format compressed filefull source code (173k) as well.

Icon by Benno Meyer with thanks.

Please note: This program is not to be sold, and will remain freeware in the future. You can't make it available for download anywhere else either. All downloads should be made from this page only. You may not list this software elsewhere without written permission. All links should point to this page, not directly to the download file.


Be notified of page/version updates
it's private. Powered by ChangeDetection

Contact information. Private and Confidential

-:| [home] | [free stuff] | [blog] |:-

All information copyright © 2005-2013 Black and White Inc. All rights reserved. First published 1st September 2006. Last Updated: 08-Apr-2013 17:10