How do you create a timer on visual basic?
-
Hello, Basically, I'm trying to create my first program on VB. As you've probably guessed, I'm an absolute noob at programming at the moment lol. So onto the question, I am trying to create a program that pretty much just simulates an arcade machine. I have made it so when you click a button, the three boxes each generate random numbers, and if one of those numbers is 7, you win. However, I want to design it so that the boxes each generate random numbers for a small period of time, before settling on one. So instead of just clicking the button and the boxes showing the numbers they generated, they each go through a selection of random numbers before finally stopping. So in order to do this, I guess I have to insert some sort of timer? I've been trying for a while but nothing I did seemed to work, someone please help! And please have a detailed answer if you do answer. Please don't put anything short like "insert timer and connect boxes and there you go" I like detail, and would be grateful if anyone could give me an in-depth answer! Thanks for reading!
-
Answer:
From the form view open your toolbox and there is a timer object you can place on the form. It doesn't show up on the form but you can double click it to tie into the timer tick event
Joshua at Yahoo! Answers Visit the source
Related Q & A:
- How do I create a Cocoa Touch Framework?Best solution by stackoverflow.com
- How to dynamically create a PHP class name on the fly?Best solution by stackoverflow.com
- How can i create a mobile application server?Best solution by Stack Overflow
- How do you create a Two-Dimensional ArrayList?Best solution by Stack Overflow
- How do I create a digital signature and how do I use it?Best solution by support.office.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.