Hi all,
Ive got an application which I am creating in vb.net. It sits in the system tray and I need it to monitor a SQL 2008 database for new records in a table. When a new record is added, I need it to run a sub in my vb.net app.
To give you an idea, it is monitoring an ANPR system so when a new vehicle is detected I need to prompt the user.
So the question is how. The database is over the network and I need to be careful about performance, so I could do a select statement every x seconds and compare that to the previous result, but that seems inefficient.
Any ideas?
Ive got an application which I am creating in vb.net. It sits in the system tray and I need it to monitor a SQL 2008 database for new records in a table. When a new record is added, I need it to run a sub in my vb.net app.
To give you an idea, it is monitoring an ANPR system so when a new vehicle is detected I need to prompt the user.
So the question is how. The database is over the network and I need to be careful about performance, so I could do a select statement every x seconds and compare that to the previous result, but that seems inefficient.
Any ideas?