If the program is not compatible, then you may try to install and run the program in compatibility mode.
Use the following steps:
1) Right click on the Program
2) Click on Properties
3) Click on Compatibility tab
4) Select Run this program in compatibility mode and select Windows Vista or whatever operating system the program was running successfully.
If you run Windows 7 Home Premium, you cannot run Windows XP mode but you can try VirtualBox (www.virtualbox.org) or VMware Player (www.vmware.com) or
any other 3rd party virtualization software and install a separate copy of Windows XP (either Home Edition or Professional) for that purpose. You can find virtualization software free of charge that will run on Windows 7 Home Premium.