₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,120 members, 8,420,466 topics. Date: Thursday, 04 June 2026 at 08:36 PM

Toggle theme

Visual Basic Timer Please Help - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingVisual Basic Timer Please Help (1055 Views)

1 Reply (Go Down)

Visual Basic Timer Please Help by Ibrokane(op): 11:59am On Jan 12, 2015
i have a project which is more like a CBT exam question, i want a timer for the whole time to answer the question which i have done but i want the same timer to always display in every form the examiner move to because it is a question per form. PLEASE HELP OUT!
Re: Visual Basic Timer Please Help by blenyo11(m):
You can have your Timer as a shared member of a shared class, initialize it once and use that same instance across all your forms instead of creating a new instance in each form.
Re: Visual Basic Timer Please Help by Ibrokane(op): 11:16pm On Jan 15, 2015
blenyo11:
You can have your Timer as a shared member of a shared class, initialize it once and use that same instance across all your forms instead of creating a new instance in each form.
how do I go about this..... I don't know how to share... jst help with the code thanks
Re: Visual Basic Timer Please Help by Nobody: 6:39am On Jan 17, 2015
You can create an algorithm using the foreach loop; foreach form in windows.forms, timer.interval = 500, then you insert ur snippets in the event timer_tick()
Re: Visual Basic Timer Please Help by Nobody: 6:42am On Jan 17, 2015
basbone:
You can create an algorithm using the foreach loop; foreach form in windows.forms, timer.interval = 500, then you insert ur snippets in the event timer_tick()
if u need the codes for it, then sms me on +2348079370258
1 Reply

How To Turn Off Timer In Cyber Cafe!!!Help Needed Urgently On Visual Basic. Experts Please!How To Add Icon To Visual Basic 6.0 Form234

How Much Does NIIT Scholarship Award Students?Learn Webdesign, Java, Vb.net Programming Here.Html5 And Css3