You'll have to use the Windows CD to boot the system with the CD-ROM drive set as the first boot drive and then format the drive and reinstall Windows and your software.
But you can use a boot CD, such as BartPE, to recover files without logging on.
See this page on how to ceate a BartPE boot CD, which you'll have to do on another PC running XP: