markthien
Member
- Joined
- Nov 9, 2008
- Messages
- 8
- Programming Experience
- 5-10
Hi guys ,
I'm do a database access (MS Access DB), which is a small program using VB.Net under VS Express Edition . However, I want to connection to be closed whenever the program exit or terminate (End Task under Windows Task Manager) by the user. What is the sub function to do that? OnProgramExit or OnPrgramTerminate ?
regards,
Mark
I'm do a database access (MS Access DB), which is a small program using VB.Net under VS Express Edition . However, I want to connection to be closed whenever the program exit or terminate (End Task under Windows Task Manager) by the user. What is the sub function to do that? OnProgramExit or OnPrgramTerminate ?
regards,
Mark