I've found that when taking photos, always turn off the flash. Also, get a tripod, or brace the camera on a solid surface. Without the flash, the camera will select a highter shutter speed, so a stable camera is absolutely necessary.
In summary: Flash bad! Stable Good!
Keep messing around, and you'll get it sooner or later.
Only took me a few hundred photos to get it right