Windows 7 Games cant find Directx

Every time i try to play an older game that worked when i had vista it says "Could not create the Graphics Device. Direct X is not available. [1002}" ive made sure that Direct X is installed and have reinstalled it several times. help anyone?

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.