Hi,

Is there anyway to force an application to execute a piece of code when it crashes?

Sometimes my application crash (as I have to solve the problem) I want to do some clean because it have altered some Database values and copied some files that have to be deleted.

Thanks,