Yes, but anyway I did find a solution. If I put the statement halt in the close event of the application object, then for some reason, not sure why, it works. I don't see anything that is or isn't being done with the halt command as opposed to with out it since the application's close event script is always the last script to run...