Possible Duplicate:
Posting and answering questions you have already found the answer to
When I have struggled for a long time to solve a problem and then finally find a solution I ask my self if I should add a question for this problem and then also answer the question.
The idea of course is that this would help other who had the same problem.