Hawkeye is probably right. In some cases if you scan the Registry on your old system and find all the entries that apply to your program, you may be able to recreate them on the new computer and modify then to point to the new drive letter that the drive would be using. But it takes some technical know-how to do that, and if you have the install package for the program then that's a much safer and easier way to go.
If the program uses data files that you want to continue using, you should be able to transfer those to the new computer - although how to do that is dependent on where the program expects to see them.