Here is the problem.
I have an enhancement that I need to make to a security system in which a vb, or even an asp app if possible, will display an employee's picture and access point upon scanning their security card at a door. On the scan, a database is queried and a row is inserted to a history table with the employee's id etc. This is the event in which I need to invoke the action of updating the display of the app to show the user who has just scanned their card.
I am used to web application development so this concept is giving me some trouble. I need to continually poll the table for inserts and on an insert display the updated information in the VB app. I am not sure if this is the best way to tackle this, the other would probably be to use a trigger on the table to tell the application to refresh it's display. Either way however, I am not sure how to accomplish this. With the first, how would you poll a db for changes continuously in VB and use this to invoke an event? If I were to use a trigger, how could you get the trigger to invoke an event in a VB app?
Thanks,
Mike
I have an enhancement that I need to make to a security system in which a vb, or even an asp app if possible, will display an employee's picture and access point upon scanning their security card at a door. On the scan, a database is queried and a row is inserted to a history table with the employee's id etc. This is the event in which I need to invoke the action of updating the display of the app to show the user who has just scanned their card.
I am used to web application development so this concept is giving me some trouble. I need to continually poll the table for inserts and on an insert display the updated information in the VB app. I am not sure if this is the best way to tackle this, the other would probably be to use a trigger on the table to tell the application to refresh it's display. Either way however, I am not sure how to accomplish this. With the first, how would you poll a db for changes continuously in VB and use this to invoke an event? If I were to use a trigger, how could you get the trigger to invoke an event in a VB app?
Thanks,
Mike