Visual Basic Timer Please Help - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Visual Basic Timer Please Help (1055 Views)
| 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): 8:48am On Jan 13, 2015*. Modified: 10:08am On Jan 13, 2015 |
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: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:if u need the codes for it, then sms me on +2348079370258 |
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 Form • 2 • 3 • 4
How Much Does NIIT Scholarship Award Students? • Learn Webdesign, Java, Vb.net Programming Here. • Html5 And Css3