I agree with AliMonster, if you encounter a problem or if you are new to something, don't trying or solving it in the application you are working on, start a new one, so you can really see what you are doing and avoid problems caused by other parts of your program!

Another tip I would like to provide you with is: Collect as much as you can. Samples, Code Snappets, Help Files and always keep your try-out code it doesn't matter how badly it was written but it shows how things are done... I have a map that is a bit smaller than AliMonsters, but pretty big, where I collect everything and if I run into a problem I browse through it and mostly I find the answer!