Solved

Update a listbox with a timer function

Posted on 2007-11-19
1
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 23

Accepted Solution

by:
Ashish Patel earned 500 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…

735 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