If you are getting this error when you run a 3D game or application, then you need to do this:
1. Go to Windows Update and install Service Pack 3 and DirectX 9.0c.
2. Install he latest video driver for your hardware, probably it is from ATI/AMD, Nvidia, or Intel.