I have created this program that will check in the database the list of legitimate windows processes to run. if not included in the whitelist, the said process will be terminated.
how i am doing this by constantly connecting to the database every 2 seconds using a timer. Previously, I just let the recordset left open so there is no need to always close and reopen but I think this causes the program to hang so I remade it to constantly close and reopen for reconnection but still the program hangs. By hang it means, I can no longer see the gui face of the program nor click any buttons in the program.
what should I do to resolve this hang issue.
what i dont understand here more is that, on several computers, the program does not hang, but on some computers, the program hangs while all of the computers have identical specs.
how i am doing this by constantly connecting to the database every 2 seconds using a timer. Previously, I just let the recordset left open so there is no need to always close and reopen but I think this causes the program to hang so I remade it to constantly close and reopen for reconnection but still the program hangs. By hang it means, I can no longer see the gui face of the program nor click any buttons in the program.
what should I do to resolve this hang issue.
what i dont understand here more is that, on several computers, the program does not hang, but on some computers, the program hangs while all of the computers have identical specs.