Solved

Update a listbox with a timer function

Posted on 2007-11-19
1
279 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 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

778 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