However, the application often seems to close before all of the code in the .Closing handler. Is there any way to prevent this?
This seems to imply that you think some of the code gets executed, but not all of it? If so, have you considered that the code might be throwing an exception part-way through that isn't being caught? John =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com