I installed Parallels and installed some programs in Windows. If I uninstall Parallels now, will the programs and files in Windows be lost? The reason is that I started getting errors in Parallels, and I want to uninstall it, but if it doesn't uninstall those Windows programs, I'll be losing hard drive space.
The Parallels uninstall removes the Parallels application folder and system components. It does not remove any virtual machines or the Parallels preferences. The errors you are getting may be Windows errors, Parallels errors, or even OSX errors, and sometimes it's hard to tell. You can uninstall and reinstall Parallels without affecting your VMs. Just FWIW, I had a number of problems that mostly showed up when I tried to use Parallels, and I had to reinstall OSX from scratch -- it wasn't a Parallels problem at all. If you want to delete all your VMs, delete the ~/library/parallels/ folder and its subfolders. This will delete your virtual machines and their emulated disk drives and everything on those disks. (Note that ~/ is shorthand for your home directory).