I keep getting a type mismatch error in the second line of code. The
first line of code returns 0 in the msgbox and the second line of code
returns 261.
Private Sub Form_Load()
'i = mciSendString("open C:\Greetings.wav type waveaudio alias
voice1", 0&, 0, 0)
i = mciSendString("open" & App.Path & "\" & "Greetings.wav type
waveaudio alias voice1", 0&, 0, 0)
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Christophe
Bonjour !
you're on a french newsgroup, so ask it in french or ask it on microsoft.public.vb.general.discussion
Christophe V.
"Don" a écrit dans le message de news:
I keep getting a type mismatch error in the second line of code. The first line of code returns 0 in the msgbox and the second line of code returns 261.
Private Sub Form_Load() 'i = mciSendString("open C:Greetings.wav type waveaudio alias voice1", 0&, 0, 0)
i = mciSendString("open" & App.Path & "" & "Greetings.wav type waveaudio alias voice1", 0&, 0, 0)
msgbox i
End Sub
Bonjour !
you're on a french newsgroup,
so ask it in french or ask it on microsoft.public.vb.general.discussion
Christophe V.
"Don" <dhowe@virtualhorizons.com> a écrit dans le message de news:
e70b650f.0307170529.24ad7a14@posting.google.com...
I keep getting a type mismatch error in the second line of code. The
first line of code returns 0 in the msgbox and the second line of code
returns 261.
Private Sub Form_Load()
'i = mciSendString("open C:Greetings.wav type waveaudio alias
voice1", 0&, 0, 0)
i = mciSendString("open" & App.Path & "" & "Greetings.wav type
waveaudio alias voice1", 0&, 0, 0)
you're on a french newsgroup, so ask it in french or ask it on microsoft.public.vb.general.discussion
Christophe V.
"Don" a écrit dans le message de news:
I keep getting a type mismatch error in the second line of code. The first line of code returns 0 in the msgbox and the second line of code returns 261.
Private Sub Form_Load() 'i = mciSendString("open C:Greetings.wav type waveaudio alias voice1", 0&, 0, 0)
i = mciSendString("open" & App.Path & "" & "Greetings.wav type waveaudio alias voice1", 0&, 0, 0)