A DirectX error generally indicates that you do not have the latest version of your video drivers, or you have improper Display settings.
To update your video drivers:
To fix improper setting in Display properties:
If you have tried all of the above but still cannot fix your problem you may not have a DirectX capable video card. This is likely if you have a computer more than 3 or 4 years old. If you have a desktop you should purchase a NVIDIA or ATI video card compatible with your computer. If you have a laptop you may need to install this software on a different computer.
Note: In rare cases downloading and installing an EARLIER release of the driver for your video card has been known to help users, for instance the 84.21 NVIDIA drivers (an older version) solve problems with the NVIDIA GeForce FX 5500 video card.
Note: In rare cases changing the resolution of the monitor (in Display Properties) can fix this problem.