129 Topics

Member Avatar for
Member Avatar for deceptikon

No bells and whistles, just a quickie millisecond timer showing an alternative to the far less portable clock_t method. A test main() is included, just define TEST_DRIVER as a macro or remove the conditional compilation at the end.

Member Avatar for vijayan121
0
7K
Member Avatar for sunil5

namespace play_stop { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button4_Click(object sender, EventArgs e) { timer1.Interval = 1000; timer1.Start(); Counter = 0; } public void circles() { Graphics g = panel1.CreateGraphics(); g.DrawEllipse( new Pen(Color.Red),panel1.Width / 2, panel1.Height / 2,75, 75); Graphics h = …

Member Avatar for Momerath
0
190
Member Avatar for durrat

hey i am new to gwt and i am doing an project on java and gwt and stuck in one part i want to create a reminder that is like user enters date and time and at that time a pop up should be displayed reminding user of his event.can …

Member Avatar for durrat
0
141
Member Avatar for candywayans

what is the code to make a timer to my program that basically times how long it takes students to complete a quiz, the timer starts and stops once the 15 questions in the quiz are answered twice , Thank You

Member Avatar for tinstaafl
0
222
Member Avatar for strungoutfan78

Hi all. I've taken a long break from my C++ studies but I'm now being shoved into finding an internship for school so I figured I'd play around and brush up on my coding. I've written this simple tabata countdown timer and I would like opinions on how it could …

Member Avatar for strungoutfan78
0
187
Member Avatar for freesoul.rahul

Hi everyone, I need some help with my homework. I checked online and found loads of results but didnt understand much. I need to submit hw by tomm nyt .. 27hrs from now. Please help me if you can plz .. Here is my code snippet public static void main(String[] …

Member Avatar for freesoul.rahul
0
271
Member Avatar for poojavb

Need help while working with timer.... I am trying to do the database restoring part.... When the user clicks on the restore database button the progress bar shud be shown and as soon as the restoring is completed the progress bar shud stop and display success msg... Right now I …

Member Avatar for Reverend Jim
0
289
Member Avatar for ktsangop

Hello everyone. As the title suggests i need to implement a type of timer based function inside a UI Thread in MFC. Although CWinThread is a UI Thread and has a message pump it does not have a Timer function as CWnd::OnTimer Is there any way i can implement a …

Member Avatar for ktsangop
0
713
Member Avatar for boris90

Hi, I'm currently working on a site's HTML code and am wondering how can I achieve this: I need to make certain images change, in a form of a slideshow, randomly and with random intervals; this means I will need it to start with a certain image and to go …

Member Avatar for AleMonteiro
0
731
Member Avatar for tharunsigma

iam new to c# and trying to work out on serial communication using timer i can send and receive the data but during printing of the received data the incoming data is overlapped on the previous data.. Please help me in advancing....and my code is as follows...` int nDataLen = …

0
107
Member Avatar for daniel36

Can any body provide me countdown timer script similar to [Website](http://www.groupclone.net/) .I am searching this type of timer from 3 days.Please help me?

Member Avatar for TrustyTony
0
111
Member Avatar for George_91

Hello. I need to simulate a button click with a Timer. That the action performed by the button, repeats every 60 seconds. I've never use timers, any help?

Member Avatar for skatamatic
0
1K
Member Avatar for fafa70

hi. i have a piece of code that i wanna know that in how many miliseconds it would be run. Public Sub TurnLeft(ByVal speed As Single) Dim timer As Single If Not IsNothing(Me._DriveActor) Then 'command below Me._DriveActor.Turn(speed) End If End Sub i know that we have timer class but you …

Member Avatar for fafa70
0
125
Member Avatar for imolorhe

I am currently working on a project in VB.net that requires the advanced power settings of the client's system to be set to allow wake up timers for when the system sleeps. Please I have been looking around for the solution. I desperately need it. Thanks in advance.

Member Avatar for Begginnerdev
0
136
Member Avatar for codechrysalis

So I have not generated the event for the picturebox but lets say the picture box is "private void pictureBox2_BeverageItems" followed by curly bracelts . I have been looking all over and couldnt find a correct implementation my guess is to probably use "streamreader" but im still fairly new to …

Member Avatar for CeilingSpy
0
1K
Member Avatar for picogenkaku

Good day everyone, I have a question. I am constructing a timer in Java console, wherein this timer should be located in one corner (such as upper right). I can only make it count up on its own place. My question is how can I place the code on the …

Member Avatar for stultuske
0
137
Member Avatar for jrwin_19

Hello guys, does anybody know how to create a timer in PHP that runs even when the user goes offline. I am working on a project, actually a text based game, that needs a timer that runs continuously even after the user goes offline. The game is something like mafia …

Member Avatar for crammo
0
1K
Member Avatar for Raim

I'm making an alarm clock whose form's backColor should change randomlly every 5 seconds. I am not sure as to how to do this. I'm using a timer so after the alarm clock's given time matches the current time, a song will be played. But I do not know how …

Member Avatar for codeorder
0
148
Member Avatar for ddanbe

Start a new console application and fill in the about 70 lines of code in the Program.cs file. Run and enjoy!

Member Avatar for ddanbe
2
402
Member Avatar for Yarra

[B]I have a timer class that prints out a string every 5 ticks, and on the 6th tick it runs a random event. now what i want is to have the timer to restart from 9 ticks. As i tried to do with the else statement in the MyTask Class …

Member Avatar for Yarra
0
176
Member Avatar for szagarella

Hi at all. I'm a new user of jsp and I've a problem. I would execute certain operations every X seconds in my jsp project like check data into mySql DB; I use a TimerTask java class and it's ok. But if I would update the UI inside the run …

Member Avatar for Philippe.Lahaie
0
248
Member Avatar for Joniniko

Alright so basically i need to create a simple maths game in C. Involving addition subtraction and multiplication of random numbers. But i also need to add a timer to that. So lets say you are given 10 seconds to answer the question and every correct answer adds you 10 …

Member Avatar for JilMakias
0
449
Member Avatar for Mike Askew

Hi all, I am looking to have a long process running in the background to my main form with a timer ticking on the main form animating the elipsis on the end of some text. Was looking for some insight into the best way to go about this and any …

Member Avatar for Mike Askew
0
242
Member Avatar for protestor

Hi, I use an msp430f16 and I want to calculate the execution time of a code (in milliseconds) any idea? thanks

Member Avatar for rubberman
0
170
Member Avatar for arindam31

Hi Everyone, I am trying to call a function after every T secs . When i use time.wait() , the app hangs, i do not have control over the app. For now , this programs will do the process once , and then after T secs . But i do …

Member Avatar for arindam31
0
281
Member Avatar for imsinu

if i hav to input time of clock as formatted style(HH:MM:SEC) using cin how can i write its code???? a question from @robert lafore(sams publication) . hope to get a best answer soon :)

Member Avatar for imsinu
0
178
Member Avatar for OblibSystems

Hey guys, I have just finished a very simplistic game where the object of the game is to move out of the way of a falling block. Still only version 1 so don't expect much but your welcome to have a go and post any feedback on this thread. Looking …

Member Avatar for OblibSystems
0
96
Member Avatar for notuserfriendly

Hello, first this is not a homework assignment so please respond whenever you have time as a speedy solution is not exactly needed. I have been learning C# recently from a microsoft book and had an idea of a program i want to make. Basically i want to be able …

Member Avatar for notuserfriendly
0
212
Member Avatar for guinntiques

Hi. I'm using vs2008 and asp.net masterpages. One of my pages is in my administration area on my server. When I visit this page, I can click a button which begins sending newsletters out to my membership 50 at a time and every 11 minutes (as specified by my email …

Member Avatar for guinntiques
0
137
Member Avatar for PurpleHeaven

Hello~ I'm having a little problem on how to make a timer which include minutes and seconds. The design of the form goes like this: [url]http://i.imgur.com/lh1pk.png[/url] Another condition here is when the timer goes down, the interval gets faster. Please help me~

Member Avatar for shivya jain
0
1K

The End.