I wrote a program and
compiled it on my laptop(WinXP Home) using MFC in VS 2003.NET and took it to school
and tried to run it on one of their computers(WinXP Pro) and I it said
it couldn't run because it couldn't find "MFC71.DLL". Are MFC programs
not portable and if not is there a way to write a program in Visual C++
so it is

MFC portability
BradLeach
It's not about portability here. Since your program dynamically uses MFC, the target machine needs the required DLL. You can do a static build to avoid this issue.
Bertrand Larsy
Ashishbuddha
Jim25_SQL
rtmos
In your Project Settings, set "Use of MFC" to "Use MFC in a Static Library"