If it were me, I'd do the OS upgrade first. That way, if something goes wrong, you haven't also wasted the time of transferring the old apps/data.
But from a purely technical standpoint, there's no difference between the two. It's kind of like if you live in the middle of a perfectly square city block, and you want to walk around the block, whether you turn left or right really makes no difference.
I know how to tranfer the files, but this is my small problem.
Old computer runs XP sp3 and new computer has windows vista with a free upgrade to windows 7 from the manufacturer.
Being a complete dweeb, I'm not sure what to do first.
Do I install Windows 7 on the new computer and then transfer whatever programs I can, or leave the new comp as it is with Vista, transfer from XP to Vista and then upgrade to Windows 7- I'm not sure if I'll have problems with installing some of my old programs from XP to 7. I thought possibly it would be easier to go from xp to vista and then 7. Thanks for any help you can offer.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic