First, upgrade to Service Pack 3.
Second, make sure your graphics card is up to date on its drivers.
Uninstall any previous versions of .NET Framework.
So by the description, it looks like you reformatted your PC recently.
From where did you get the disk? Is it an official Microsoft XP CD you purchased? Or did you download it? For the most parts, some downloads of a Windows XP copy could be corrupted, or missing files within the installation.
Make sure your windows is fully up to date.