Domaine : tutoriel
Tag : vb 6.0
Aller à l'accueil


TAGS SPECIALISES :

visual basic pdf
cours sur vb
cours visual basic access
cours vb
vb6 tutorial
vba tutorial
exemples visual basic
word visual basic
cours programmation visual basic
vb 2008 express
langage visual basic programmation
visual basic word
visual basic application
visual basic for application
tutoriel vb
vbasic
visual basic script
vb6 download
windows visual basic
vba tutoriel
vba word
visual basic 2008
programmer en visual basic
cours sur vba
cours vba
le langage vb
vb 2008
application vba
cours en visual basic
programme en vb
programme vb
visual basic programmation
cours vba access
visual basic cours
formation vba gratuite
vb express
apprendre le visual basic
free visual basic
débuter en informatique
programmation en visual basic



Visual Basic 6.0 Adding Sound To your Buttons and stuff!





Say What YOU think about the code!, i wanna know what you think about it :D

Here is a code that you can use on your buttons! its really cool!

News: Added the code in this text some place :p

BTW.... Thanks to my friend talking on Ventrilo while i was recording -_-

hehe

Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _ (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Const SND_SYNC = &H0 Const SND_ASYNC = &H1 Const SND_NODEFAULT = &H2 Const SND_LOOP = &H8 Const SND_NOSTOP = &H10 'Yeah!
Private Sub Command1_Click() Soundfile$ = "C:\Delte Filer\Ventrilo\Channel.wav" wFlags% = SND_ASYNC Or SND_NODEFAULT Sound = sndPlaySound(Soundfile$, wFlags%)
End Sub

Private Sub Command2_click()
StopTheSoundNOW = sndPlaySound(Soundfile$, wFlags%)
End Sub

code pour embarquer la vidéo : >>>    http://www.youtube.com/embed/fLfmHTzAR9U    <<<






TAGS GENERAUX :

  tuto informatique  tuto web  tuto vba  tuto zend  tutoriel internet  tutoriel facebook  tuto facebook  tutoriel informatique  spip tutoriel  tutoriel spip