Category : BASIC Source Code
Archive   : SYSSND.ZIP
Filename : SNDDEMO.FRM
ÿ Windows System Sound Demo¾ 4 · B #ÿÿÿÿ$Form1ÿ© Label1ÿ Windows system sounds can be accessed by reading the Win.Ini file and passing sound file names to the API commands for playing WAV sounds. ð x /ï ÿ, Command1ÿ Asterisk ð Ð7ï ÿ1 Command1ÿ
Critical Stop Ð7ï ÿ0 Command1ÿ Default Beep 0 Ð7ï ÿ/ Command1ÿ Exclamation ÐÐ7ï ÿ, Command1ÿ Question pÐ7ï ÿ1 Command1ÿ
Windows Start ` (7ï ÿ0 Command1ÿ Windows Exit (7ï ÿn Label2ÿ QThese sounds may also be tied (via code) to the VB MsgBox statement and function.ð p/ÿ ÿ,
Command2ÿ Asterisk ÀØ 7ï ÿ1 Command2ÿ
Critical Stop ` Ø 7ï
ÿ/ Command2ÿ Exclamation Ø 7ï ÿ,
Command2ÿ Question Ø 7ï ÿ3 ü
Q. Ø ~Z ¾ Äã £ Fx Q Ì È ; h µ Ø
Form_Click÷ SndPlaySound^ FileName snd_async2 ByValsnd_asyncÑ Command1_Clicko Index resultc Case0 Command2_Click GetProfileString lpAppName½ lpKeyName lpDefault lpReturnedString nSize AppName NumChar Form_Load j lpReturn MB_ICONSTOP MB_ICONQUESTION§ MB_ICONEXCLAMATION MB_ICONINFORMATION Msg Icon IconTypeL v L SndPlaySound is the API call to (obviously) play the WAV file passed to it . h á x mmsystemx . 6 ã á ÷ 2 Kernel÷ å ov Critical messageT å ~v Warning query å 0 v Warning message å @ §v Information message ÿÿÿÿÿÿÿÿ Command1_Click 0& X £ µ µ V * ä &