ورود

نسخه کامل مشاهده نسخه کامل : چه جوری موزیک رو اجرا کنم



cao-cao
17-04-2009, 00:07
دوستان چه جوری میتون دستور بدم وقتی فلان کلید رو میزنی این موزیک پخش بشه
و چه جوری میتونم تابعی تعریف کنم که بتونه از 1 تا 50 یه عدد رندوم بهم بده (تابع rnd)
ممنون از همه دوستان:10:

majj
18-04-2009, 12:19
با
The sndPlaySound function plays a waveform sound specified either by a filename or by an entry in the registry or the WIN.INI file. This function offers a subset of the functionality of the PlaySound function; sndPlaySound is being maintained for backward compatibility.

Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long



این هم یک نمونه

برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

cao-cao
18-04-2009, 18:58
با
the sndplaysound function plays a waveform sound specified either by a filename or by an entry in the registry or the win.ini file. This function offers a subset of the functionality of the playsound function; sndplaysound is being maintained for backward compatibility.

Declare function sndplaysound lib "winmm.dll" alias "sndplaysounda" (byval lpszsoundname as string, byval uflags as long) as long



این هم یک نمونه

برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

دوست من ممنون
ولی من نه رشتم کامپیوتره نه ریاضی خوندم
علاقه مند شدم به این برنامه تازه دارم یه برنامه مینویسم
به قوله خودمونی فرق کوکو و جلبکو نمیدونم میشه یکمی زیره دیپلم توضیح بدی اونایی رو که بالا گفتی ؟:31:
بازم ممنون

majj
19-04-2009, 08:05
در مورد توابع api جستجو کنید