新手發問
想寫一個5ma穿越10ma、20ma就有音效提醒
但寫完都沒有音效提醒
不知道自己哪邊有錯
您好:
音效不要用 MP3 ,用 WAV 檔試試看。
PlaySound("PathFilename")
PlaySound
PathFilename
Where: PathFilename - a string expression specifying the path and filename of the wave file to be played Example
Play ding.wav sound file located in the root directory of the C: hard drive:
PlaySound("C:\ding.wav");
"C:\ding.wav"
更改後就有提示音了
感謝解惑