Solved

Update a listbox with a timer function

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now