Installing runtime files will not solve your problem in some circumstances. Such is that probably you have used a third party activex control that is not installed in the system directory(In case of XP it is System32)of your operating system or such a control which is newer than what is your operating system presently has. Copy and paste the activex control(which is not installed)to the System32 folder. You'll find this folder under windows directory in the root drive of your os. After this click start->run and pass the following command :-
regsvr32 %systemroot%\system32\<your activex control name.ocx>
Hit enter. This will register the activex control in your XP os. After this your os will be able to create object of the said control. If possible just logoff and then login to the machine. Run the project by clicking .exe file. Your program will be run this time without having any problem.