Article View: free.it.visual-basic
Article #124Re: Durata di un brano in Windows Media Pleyer
From: ctaro
Date: Fri, 04 Dec 2009 16:53
Date: Fri, 04 Dec 2009 16:53
25 lines
2124 bytes
2124 bytes
On 3 Dic, 22:18, no...@no.void (Reventlov) wrote: > Il giorno Thu, 3 Dec 2009 01:23:45 -0800 (PST), ctaro <celestino.t...@gmail.com> ha > scritto: > > >Uso il controllo wmp.dll per riprodurre dei brani musicali > >Come posso da codice conoscere la lunghezza del brano? > >Ho provato a usare il membro Duration in questo modo ma non funziona: > >TempoTot_i = int(Form1.wmp.Duration) > > A me qualcosa del genere funziona. > > player.mediaCollection.add(filename) > player.url=filename > > msgbox= player.currentmedia.duration > msgbox player.currentmedia.durationstring > -- > Giovanni Cenati (Bergamo, Italy) > Write to "Reventlov" at katamail comhttp://digilander.libero.it/Cenati(Esempi e programmi in VbScript) > -- grazie mille funziona perfettamente
Technical Details
Message-ID:
<65e3c52d-e0d0-4a37-afa3-1924e7ccda40@o10g2000yqa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o10g2000yqa.googlegroups.com!not-for-mailReferences:
<bb6d8f24-e6de-41b0-a267-bda813e7f59e@j19g2000yqk.googlegroups.com> <4b182be8.1549687@powernews.libero.it>Show Full Headers
Complete Article Headers
X-Google-Thread: 3de4ef2fba,ce522a75a4fd2f3b X-Google-Attributes: gid3de4ef2fba,public,usenet X-Google-NewGroupId: yes X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o10g2000yqa.googlegroups.com!not-for-mail From: ctaro <celestino.taro@gmail.com> Newsgroups: free.it.visual-basic Subject: Re: Durata di un brano in Windows Media Pleyer Date: Fri, 4 Dec 2009 08:53:03 -0800 (PST) Organization: http://groups.google.com Lines: 25 Message-ID: <65e3c52d-e0d0-4a37-afa3-1924e7ccda40@o10g2000yqa.googlegroups.com> References: <bb6d8f24-e6de-41b0-a267-bda813e7f59e@j19g2000yqk.googlegroups.com> <4b182be8.1549687@powernews.libero.it> NNTP-Posting-Host: 95.74.51.116 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1259945584 1804 127.0.0.1 (4 Dec 2009 16:53:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 4 Dec 2009 16:53:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o10g2000yqa.googlegroups.com; posting-host=95.74.51.116; posting-account=kEpKsgoAAAAwTuSxXjoVl0jbQQY3vOFi User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)