| | |
timer in VB.net
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2006
Posts: 11
Reputation:
Solved Threads: 0
Hi,
I am a VB.net greenhorn so my problem might seem trivial but for me it is getting to be a Herculean and confusing task.
My problem is that I am making a project where the user has to give a quiz where he/she has the choice of number of questions and time limit which can be in hours, minutes or seconds depending on three respective textboxes. (00 for hours if only limit in minutes is needed etc).when the quiz starts, the time countdowns from the user entere values to 00:00:00.
The question part I can handle, but this time part in VB.net is the problem.
Please someone rescue me! I shall be eternally grateful
I am a VB.net greenhorn so my problem might seem trivial but for me it is getting to be a Herculean and confusing task.
My problem is that I am making a project where the user has to give a quiz where he/she has the choice of number of questions and time limit which can be in hours, minutes or seconds depending on three respective textboxes. (00 for hours if only limit in minutes is needed etc).when the quiz starts, the time countdowns from the user entere values to 00:00:00.
The question part I can handle, but this time part in VB.net is the problem.
Please someone rescue me! I shall be eternally grateful
What is the problem, exactly? Having trouble converting the numbers into a time?
VB.NET Syntax (Toggle Plain Text)
while(sleeping) cat_wails(); wake_up(); for(i=0;i<9;i++) shoot_cat(); rejoice(); goto(bed);
Convert the time into seconds, then into milliseconds, and use the Timer control.
VB.NET Syntax (Toggle Plain Text)
while(sleeping) cat_wails(); wake_up(); for(i=0;i<9;i++) shoot_cat(); rejoice(); goto(bed);
![]() |
Similar Threads
- ASP.Net timer control (ASP.NET)
Other Threads in the VB.NET Forum
- Previous Thread: msdn and Visual Studio integration
- Next Thread: Get local IP address
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account array arrays basic beginner browser button buttons center checkbox client code convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist eclipse excel fade filter forms ftp generatetags gridview html images inline input insert intel internet listview mobile monitor net objects open panel passingparameters pdf picturebox port position print printing problem read remove save searchbox searchvb.net select serial settings shutdown soap sorting sqlserver survey table tcp temperature textbox timer timespan transparency trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode year





