473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How can i Display random texts every 3secs?

1
Sorry,i'm still a newbie but i'ld like to know how i can run a programme that can display random texts in one label or textbox every 3seconds, that is; i want a different text to display after 3seconds in which another text will display and so..... in runtime. Example, the first text is 'i love you' and after 3seconds it'll display ' i'll do anything for you' and displays another continously. That's what i mean. Pls help me
Aug 17 '14 #1
2 1084
horace1
1,510 Expert 1GB
Visual Studio VB.NET has a Timer component which you can configure to create an event every 3 seconds
Aug 17 '14 #2
ambusy
5
but don't forget to refresh the screen in the timer module. If not, you will not see the change on the screen!!!!!!
Aug 18 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Diodak | last post by:
**************************************** How can get RANDOM record from XML file? **************************************** for e.g. in xml files i have aprox.200 records. how get random position...
1
by: Avi | last post by:
Hi Experts, I would like to display the latest 500 events from a table which contains over a million records. The speed of insertion is about 25 a second. How can I display it and refresh the...
19
by: Boris Borcic | last post by:
does x.sort(cmp = lambda x,y : cmp(random.random(),0.5)) pick a random shuffle of x with uniform distribution ? Intuitively, assuming list.sort() does a minimal number of comparisons to ...
1
by: vchezel | last post by:
Hi, I did a project in c++ to do file operations.The output of the program would be like this File create\File1_1 created File create\File1_1 Copied to copy\FileDest_1 File copy\FileDest_1 (6302...
1
by: philleep | last post by:
Hi, How do i do a random picture selector for a page in php. Basically i want to pic 3 pictures from a pool of 40 and display these on screen. Cheer, Philleep
1
by: molle | last post by:
Hi! I have database-table with different texts, in which the %-sign is used. When I retrieve the info with SQL and PHP and display the texts with echo, I see that the percent-sign is there. I...
5
by: fran7 | last post by:
Hi, I wonder if anyone can help. I have this asp which selects randomly from my database. works fine but writes the results to a table. One of the returned results is an image so I need to wrap it in...
4
by: meko92 | last post by:
How can I display random three texts in a label by clicking a button I want to make a game with 2 players and the second player is the PC. I want the PC to choose one of three word and display it...
12
by: Chrono Dark | last post by:
I have 12 picture boxes and I am calling a method called ShowDice() to show the image of the dice. Here is what I am doing exactly: - Generate a random number for 12 integers - Use a for loop...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.