Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Update a listbox with a timer function

Posted on 2007-11-19
1
Medium Priority
?
308 Views
Last Modified: 2010-04-23
First i have a listbox that shows some information from a database table, i need this listbox to be updated with new information from the database tables every minute or so.

I was thinking a timer function was the way to go here?

Anyway, i have not used any timers in VB.net before, so i need some help, and hopefully an example on how it should be done.
0
Comment
Question by:leeds2000
1 Comment
 
LVL 23

Accepted Solution

by:
Ashish Patel earned 2000 total points
ID: 20311236
put a timer on the form and double click it, and the timer routine sub call will apear, write you code in there for populating list box the way you do it for the first time. Set the timer property for few milliseconds as require and everything should be good.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Screencast - Getting to Know the Pipeline

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question