I have a box that displays a certain value from a database, and updates that value on a timer. This has seen very inconsistant performance. The database is mysql. What I am wondering is how I can make the program update the value in the box automatically, without using a timer. I would rather not use threading either. Is there a way to detect if the database table has been changed, then update it?