Article View: free.it.visual-basic
Article #1999Attendere la fine di un evento - PlaySound
From: Indian Revenge
Date: Sun, 26 Oct 2003 21:38
Date: Sun, 26 Oct 2003 21:38
15 lines
1537 bytes
1537 bytes
Ho utilizzato la funzione PlaySound: (Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long) tutto ok, solo che vorrei che il mio programma continuasse con l'istruzione successiva solo dopo che il file .wav e' stato eseguito completamente. So che potrei mettere una pausa (sleep x), ma la x dipenderebbe dalla durata dell'esecuzione del suono. Cos'altro si puo' fare? Grazie, RobyRoby
Technical Details
Message-ID:
<g9Xmb.69754$e6.2508736@twister2.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII-7-bit X-Google-Thread: f94ee,181ef0313b5e1bfc,start X-Google-Attributes: gidf94ee,public X-Google-Thread: 10b997,181ef0313b5e1bfc,start X-Google-Attributes: gid10b997,public X-Google-ArrivalTime: 2003-10-26 13:38:21 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail From: "Indian Revenge" <r.forni@libero.it> Newsgroups: free.it.visual-basic,it.comp.lang.visual-basic Subject: Attendere la fine di un evento - PlaySound Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <g9Xmb.69754$e6.2508736@twister2.libero.it> Date: Sun, 26 Oct 2003 21:38:20 GMT NNTP-Posting-Host: 151.29.196.61 X-Complaints-To: abuse@libero.it X-Trace: twister2.libero.it 1067204300 151.29.196.61 (Sun, 26 Oct 2003 22:38:20 MET) NNTP-Posting-Date: Sun, 26 Oct 2003 22:38:20 MET Organization: [Infostrada]