I don't know how you lose direct 3d but it's basically the graphics API of directX. Reinstalling directX should work. Another possability is that directX 11 ( or whatever the new one is for vista) is no longer backwards compatible with certain old programs , try downgrading too.
*coughpirate*:V
Anyway, did you figure out which file it is?