Article View: free.it.visual-basic
Article #2781Re: controllare il tempo
From: fama1979
Date: Fri, 07 Feb 2003 17:57
Date: Fri, 07 Feb 2003 17:57
17 lines
1687 bytes
1687 bytes
"Trix" <compton@inwind.it> ha scritto nel messaggio news:w3S0a.92588$YG2.2601732@twister1.libero.it... > Ciao! > come posso far eseguire un operazione ogni secondo in modo ciclico? > > Penso tu possa utilizzare un timer impostando la propriet� Interval a 1000 Quando abiliti il timer (timer.enabled=True) allora ogni secondo viene eseguito il codice incluso in Timer_Timer() Per� c'� una controindicazione, il codice non avviene esattamente ogni secondo, la sua precisione dipende da quanto il microprocessore � impegnato e dal tempo che ci mette il codice ad essere eseguito! ok? ciao
Technical Details
Message-ID:
<YrS0a.200491$AA2.7791886@news2.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mailReferences:
<w3S0a.92588$YG2.2601732@twister1.libero.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,33bbda3bb09cb90f X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2003-02-07 09:57:22 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!newsfeeder.edisontel.com!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail From: "fama1979" <fama1979@email.it> Newsgroups: free.it.visual-basic References: <w3S0a.92588$YG2.2601732@twister1.libero.it> Subject: Re: controllare il tempo Lines: 19 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: <YrS0a.200491$AA2.7791886@news2.tin.it> Date: Fri, 07 Feb 2003 17:57:12 GMT NNTP-Posting-Host: 80.117.19.242 X-Complaints-To: newsmaster@tin.it X-Trace: news2.tin.it 1044640632 80.117.19.242 (Fri, 07 Feb 2003 18:57:12 MET) NNTP-Posting-Date: Fri, 07 Feb 2003 18:57:12 MET Organization: TIN