Hi.

I have a simple VB 6.0 application that communicates over serial port. It consists only of a single Form.
If I close this application by clicking the Close(Cross button in corner box), the application is still found running in Task Manager. However, terminating it with an "End" Statement in the event of a button removes it from task manager list also. However, the same End statement when added to the Event of Close does not work.

What is the reason for this?

How can I remove the Application from running in Task Manager, when the Cross button is pressed.

Thanks.