AustinC
January 4th, 2000, 01:37 PM
Does anyone know a way from code, that I can automatically detect if the application is running under the development environment or is
being executed "normally"?
A project I am currently involved with is using system timers to automatically close Database connections if no activity occurs within a certain timescale. This unfortunately has a side effect that the VB environment itself can be completely closed if the "End" buuton is pressed and timers are outstanding. I do not if possible wish to have to control this via INI file or compile parameters if possible.
The project is converting to VB6 from VB5, and comprises of 1 main exe and 7 DLLs (3 provide common functions, the others are function specific) within the one project group, testing is usually done with all the code as vbps in the development environment, but sometimes the compiled DLLs are linked.
Thankyou in advance.
being executed "normally"?
A project I am currently involved with is using system timers to automatically close Database connections if no activity occurs within a certain timescale. This unfortunately has a side effect that the VB environment itself can be completely closed if the "End" buuton is pressed and timers are outstanding. I do not if possible wish to have to control this via INI file or compile parameters if possible.
The project is converting to VB6 from VB5, and comprises of 1 main exe and 7 DLLs (3 provide common functions, the others are function specific) within the one project group, testing is usually done with all the code as vbps in the development environment, but sometimes the compiled DLLs are linked.
Thankyou in advance.