It depends what type of HDD connection it has, if it is quite old then it is probably IDE (quite long oblong with 2 rows of holes) or a newer one which would be SATA (looks like 2 L-shapes on there sides) Most new motherboards especially the new intel boards don't support IDE, I'd see what type you have and if it is IDE then you'd probably be better off getting a cheap external 3.5" case (seen them about for about a tenner) for the hard drive so you can plug it in Via USB instead. The only thing is it would be pretty rubbish to use as a main drive this way.
If it is SATA then as Stulid said, if it worked ok before then should be ok now.