I've asked this question before but so far haven't really had any suggestions or answers.

When I use my activeX control on a web page, everything seems to be fine until the user leaves my page. Then the browser doesn't seem to release the instance of the activeX control. There is a need to do some cleanup work when the control is being released and that work doesn't get done correctly.

Any help with this would be very much appreciated.