I have a program in which if no of hours worked in a day is less than 8 hrs, the system should not shutdown. I have used the following code,
In formclosing event, i have written,
e.cancel=true
It is not allowing the system to shutdown or log off nut it is showing the "End program" message anf if "End now" is pressed, the system is getting shut down. Hoe to prevent the "End program message"?
In formclosing event, i have written,
e.cancel=true
It is not allowing the system to shutdown or log off nut it is showing the "End program" message anf if "End now" is pressed, the system is getting shut down. Hoe to prevent the "End program message"?