' lpszSoundName$ ' Specifies the name of the sound to play. The function first
' searches the [sounds] section of the WIN.INI file for an entry
' with the specified name, and plays the associated waveform sound
' file. If no entry by this name exists, then it assumes the
' specified name is the name of a waveform sound file. If this
' parameter is NULL, any currently playing sound is stopped.
' That is, use a 0& to provide a NULL value. 看看这个把,就是说如果你要退出,要停止播放,就给一个空的参数,既:
sndPlaySound "", SND_ASYNC Or SND_NODEFAULT
这样就可以了。
' searches the [sounds] section of the WIN.INI file for an entry
' with the specified name, and plays the associated waveform sound
' file. If no entry by this name exists, then it assumes the
' specified name is the name of a waveform sound file. If this
' parameter is NULL, any currently playing sound is stopped.
' That is, use a 0& to provide a NULL value. 看看这个把,就是说如果你要退出,要停止播放,就给一个空的参数,既:
sndPlaySound "", SND_ASYNC Or SND_NODEFAULT
这样就可以了。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货