Am about to take the plunge into the dslr arena and need advice re equipment. I will be mainly doing wildlife, landscape and macro photography (plus taking shots of the family!). I also want to shoot video.
You are asking for basically everything all at once, right at the start. Wildlife, which you define as both animals (zoom) and bugs (macro), plus landscape (wide) and shots of the family (portrait). If you have never had a DSLR before, you might want to pick just 1 or 2 of the above to start, and get used to the camera before plunging into the others. Cheers for the ambition, but unless you have an incredible amount of time to devote the hobby, you might never get enough time on each of them to get good.
For your general purpose/landscape, I would suggest the 15-85 over the 17-40 just because the range is so much broader, and because 15-85 is rated very well. Unless you think you will go full frame and won't be able to use EF-S. Of course if you do that you will take a beating on the long end of all your lenses by losing the 1.6 crop factor.
I'd also get a flash if I were you. The build-in flash is really not going to do nice things for your photos (shadows/glare) because all it can do is shine directly at your subject. And it does not have a great deal of range anyway. And if you have a long lens mounted, you will find it does not stick up far enough to flash over the end of some lenses, so you get a little shadow at the bottom of your photos from the end of your lens. Even without a lens hood sometimes.
Best wishes and good luck!