منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب
تشغفيل ملفات .wav - نسخة قابلة للطباعة

+- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb)
+-- قسم : الأقسام التعليمية - المنتدى القديم (http://vb4arb.com/vb/forumdisplay.php?fid=90)
+--- قسم : مكتبة أكواد المنتدى (http://vb4arb.com/vb/forumdisplay.php?fid=111)
+---- قسم : مكتبة أكواد الفيجوال بيسك 6 (http://vb4arb.com/vb/forumdisplay.php?fid=116)
+---- الموضوع : تشغفيل ملفات .wav (/showthread.php?tid=5837)



تشغفيل ملفات .wav - RaggiTech - 17-10-12

كاتب الموضوع : AhmedEssawy

تشغفيل ملفات .WAV


كود :
Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long


Public Function Sound(pathfile As String)
SoundPlay = PlaySound(pathfile, 0&, &H1)
End Function
'All you have to do is call Sound, and give dir
'vbcode.com