129 Topics
|
|
i'm wondering how to use a function named timer(); while executing another function at the same time??? can anyone help me with this?? i researched about threading but it's too complicated for me |
|
I have this code. I need to loop through it, until button 2 is pressed. I also want to count how many times its looped and show how many times in a label. [code]Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("www.WEBSITEHERE.COM") End … |
|
I have this script and i need some help [CODE]<script type='text/javascript'> numcount=0; t=setTimeout("test()",30000); document.getElementById("incrementBtn").disabled=false; timer_on = 1; function increasecounter() { timer_on = 1; numcount++; document.getElementById('countdiv').innerHTML=numcount; t=setTimeout("test()",30000); } function test() { if(timer_on) { timer_on=0; document.getElementById("incrementBtn").disabled="true"; document.getElementById("score").innerHTML = document.getElementById("countdiv").innerHTML; } } function reset() { timer_on = 0; numcount=0; document.getElementById("incrementBtn").disabled=false; document.getElementById("countdiv").innerHTML = 0; … |
|
Hello. What I need is very simple in concept, although I am the worst in the world (not really) at JavaScript. I basically want to make a displayed image change, no special effects, every set amount of seconds. I also want to have a forward and backward image button to … |
|
|
First of all, sorry for my bad english, that doesn't make any sence at all. So, please correct me. I made a programm to use SendKeys, but I want a delay between the word. I was able to split the string in words, but I wasn't be able to send … |
[CODE]#include <iostream> #include <windows.h> #include <ctime> using namespace std; double time1; int main() { const double seconds1 = time(0); string string1; while(1) { long double seconds2 = time(0); if(seconds2 == seconds1 + 5) { cout << "Five seconds went by.\n\n"; break; } } cin.clear(); cin.ignore(255, '\n'); cin.get(); return 0; }[/CODE] … |
|
For a project i'm working on now, i need to create a function that is in the format Hours:Minutes: seconds: Fraction where fraction is 1/10th of a second. It should print out every one tenth of a second. I have no idea where to start or how to do this, … |
|
Hello. How can i make count-down timer on MFC program? Thank you |
|
Is it possible to use a timer to be able to count up, stop, and count down and be able to change the speed on the fly? Trying to make a simulator program that behaves like the real unit. The count also needs to stay in the 0000 format. ie; … |
|
I want a random timer in pascal, but i have always problem with the number typs. I'm thinking on a machinke what generates a numer between 10 and 60 seconds. Delay in the background, but if time ends writeln The time has ended. What you think is it possible? |
|
hello friend s i am making the simple timer module which will display time in count down format as if user wnters 1 hour 3 mins and 30 sec so it will count in revers i have almost half code done but afer trying the all tricks and logic i … |
|
Hello. I don't know any code of Javascript. I programme in PHP. I grabbed this piece of code for javascript timer: [CODE] <form name="counter"><input name="d2" type="text" size="8" style="font-size:72pt; border:none; font-family:Verdana; color:#00BFFF; text-outline: 1px 1px #009ACD;"></form> <script> <!-- // var milisec=0 var seconds=<?php echo $s;?> document.counter.d2.value='0' function display(){ if (milisec<=0){ milisec=9 … |
|
Hello, all! :) Let me preface this by saying that I am a computer science student with only a rudimentary introduction to C++ so far, having worked mainly in Java up until now. I apologize if this is an overly simplistic question. A relative of mine has asked me to … |
|
I want to run a function just for specific time (say 10 min). After specific time it will return successful if it is able to execute the function successfully or unsuccessful. The function does a large amount of data processing and updating the tables. I want to stop executing that … |
|
HOW TO CHANGE THE TIMING 15 MIN EARLY THAN CURRENT TIME OR TIME VALUE WHICH IS IN MS-ACCESS TABLE USING VB6.0?????????????????? plZ HELP ITS URGENT ?????????????????? |
|
I have a Splash Screen (which is the first thing that loads). and after 10 seconds of viewing the splash screen i want a form to appear... is that hard to do? |
|
Hello I am writing a class Test. I considered a field “int age” to see how long each instance of this class has been created. In other words i want to know the age of each instantiated object of this class. I assumed i should use the Timer class. I … |
|
i was trying to make a [URL="http://devvicky.com/"]free microsoft word[/URL] plugin in vb.net. It automatically fills a web form. The main problem with the plugin is that it uses web browser control and once it has filled a form it will need to navigate another form. The form can only be … |
|
Hi, i'm new here and this is my first tread. I'm a computer student and trying to gain usefull that may be valuable latter on, so... Is there anyway to make a counter in c++? I've been looking and i've found none yet(similar but no what i want). What i … |
|
hello All, Good Day to u all. I m new to .net. I just want to implement a stopwatch in asp.net. Can any one help? Thanks in advance. |
|
im my java SE application i have a messagebox prompting asking the user to press OK. i want to make the user wait a certain time and the messagebox will automatically close in a certain time. i read on swing.timer about this. but im bit confused with the implementation. how … |
|
Ok first of all when I was reading a thread on Timers before this guy posted code for a timer and its really good, but only problem with it which I cant figure out is that when I run the program the Msgbox("You have run out of time")..Which is from … |
|
Hello all, I've been looking at various c# timing functions but can't seem to find the right one. The closest one I seem to have found is stopwatch function, that only measures the time it takes to complete a command. What i'm after is a stopwatch function that only measures … |
|
Hi i want implement a windows services scheduled task. I already created windows service. In a service i have implemented a timer.The timer is initialized at class interval. The timers interval is set in the start method of service and also it is enabled in the start method of the … |
|
Hi Everyone, I'm making a windows mobile app in C# that aims to help those affected by Alzheimer's Disease Part of it needs to send text messages at 5 minute intervals, however, the rest of the C# program needs to continue at the same time. I know that when you … |
|
Hello dear All, Now I'm writing an app that have to react on some user's actions in real time and redraw a big form according to this activity and a timer's firing. Also, when redrawing the form, the app must emit some short sounds. For the last purpose I used … |
|
Hey guys :) I am stuck on this piece of code i am about to give below. What happens, is the server sends a "ping" to the client, the client sends "pong" back, but when the server sends "pong" back to the client (i KNOW this is sent) the client … |
The End.