Hi guys, For some reason when my app is a .exe file it randomly stops responding and crashes every now and then but does not display why. does anyone know how I can make it print the reason why it crashed into a text file?

Thanks
Jamie.