🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #128

Re: Timers

#128
From: Lord Apophis
Date: Tue, 28 Nov 2000 22:39
44 lines
2291 bytes
are you refering to time as in what time of day it is or time as in when X
number of minutes/seconds etc pass?

I gather you are refering to the later so here is something you could use.
This will basically make form2 visible after and interval of 1000 has
passed. Its a little crude but it works fine for me


Private Sub Form_Load()

Timer1.Interval = 1000                                        ' 1000 is the
timer interval.

End Sub


Private Sub Timer1_Timer()

Form2.visible = true                                            ' Makes
form2 visible after 1000 interval has passed on the timer

End Sub



I hope this helps you out a bit

Cheers
Lord Apophis




"naylors" <naylors@optushome.com.au> wrote in message
news:cOKU5.6312$BU4.11580@news1.blktn1.nsw.optushome.com.au...
> How do I make it when a certain time on the timer has come it then
switches
> to a different form??
> Thanks
>
> --
> www.E-Mall.4t.com
>
>
Technical Details
Message-ID: <901c4t$mjp$1@bugstomper.ihug.com.au>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!news.tig.com.au!not-for-mail
References: <cOKU5.6312$BU4.11580@news1.blktn1.nsw.optushome.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110e3b,682406edc3b03171
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 107824,682406edc3b03171
X-Google-Attributes: gid107824,public
X-Google-Thread: f645d,682406edc3b03171
X-Google-Attributes: gidf645d,public
X-Google-Thread: 108062,682406edc3b03171
X-Google-Attributes: gid108062,public
X-Google-ArrivalTime: 2000-11-28 14:38:23 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!news.tig.com.au!not-for-mail
From: "Lord Apophis" <me@home.com>
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.misc,cz.comp.lang.basic.visual,fj.comp.lang.visualbasic
Subject: Re: Timers
Date: Wed, 29 Nov 2000 09:39:02 +1100
Organization: The Internet Group (Sydney)
Lines: 46
Message-ID: <901c4t$mjp$1@bugstomper.ihug.com.au>
References: <cOKU5.6312$BU4.11580@news1.blktn1.nsw.optushome.com.au>
NNTP-Posting-Host: p502-tnt2.mel.ihug.com.au
X-Trace: bugstomper.ihug.com.au 975451101 23161 203.173.165.248 (28 Nov 2000 22:38:21 GMT)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400