Hi,

I am having problems getting my program to close win windows shuts down or restarts. I know that you need to subclass to do this but I do not know how. My program is running as a module in the background. When I shut down windows says rogram will not respond. I was told that is because vb does not know what to do with the message that windows is sending it. Please help me.

Thanks,

Kevin