There are several ways to overcome this problem. It's advised to download and install on your Windows 7 machine a compatible version of the program. After you did this, bundle the DLL files from the installation folder from the Windows XP computer, and transfer these to the Windows 7 PC. Also, you can use the QB64 program to compile your program to an EXE file. By doing this, running the program will not be limited by the available DLL files from the computer, because this will be included in the EXE file.