in reply to Application just dies

An example of your code would really help us answer your question...

Don't forget to use <code></code> tags.