Main Topics
Browse All TopicsI have a FoxPro 2.5 application that was running on a Windows 98 desktop. I recently bought an XP Home edition desktop and installed FoxPro 2.5 on it but when I tried to execute FoxPro it gave me a "Divide by Zero or Overflow Error" message. While doing the research online, it said to install updates and patches. I did and that fix that error.
On my old Win98 machine, I used to click on the FoxPro 2.5 icon and my application would start running immediately. Now, when I open FoxPro 2.5, I simply get a blank screen. Do I have to recompile the application? What are the components that I need to include to run the database?
Jonathan Lanz
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Once you get beyond the "Divide by Zero" error, you also may have to edit the Config.nt file in the System32 of the main Windows folder on the XP PC. You will have to be sure you have enough file handles addressed as we always had to do for 16-bit apps, like FoxPro 2.5/2.6. The default may be FILES=40 or FILES=20 in there. Just hike up the number accordingly to allow lots of tables, index files, etc. to be opened at one time in a FoxPro session. I use FILES=99, but others use numbers in the hundreds. Whatever works for you.
hello ,
i have faced the same divide by zero error when running foxpro 2.6 in windows xp professional SP 2.
For that i have donwloaded the path_26.exe from those links. after extraction, i found 2 files one path26.exe and readme.txt
as per the text instructions and found the mentioned errors in braces. Since i encountered these errors i dint go ahead executing other commands. Please help me to solve this.
CD C:\FPW26
ATTRIB -r FOXPROW.EXE ( ran successfully since no message is printed )
ATTRIB -r FOXW2600.ESL ( cannot find the esl file )
PATCH26 FOXPROW.EXE ( PATCH26: error : incorrect FoxPro 2.6a file size : C:\FPW26\foxprow.exe )
PATCH26 FOXW2600.ESL
ATTRIB +r FOXPROW.EXE
ATTRIB +r FOXW2600.ESL
Business Accounts
Answer for Membership
by: CarlWarnerPosted on 2003-11-20 at 10:26:51ID: 9789573
The "Divide by Zero" error is typical for an old Fox version running on a faster, newer PC. There is a patch for that is officially supported by MS and wants you to be at version 2.6a before you apply the patch. Since you don't have 2.6 or 2.6a, I'm not sure how you're going to get there from version 2.5.
om/default .aspx?scid =http:// su pport.micr osoft.com: 80/support /kb/articl es/Q102/8/ 93.asp& NoW ebContent= 1
om/default .aspx?scid =http:// su pport.micr osoft.com: 80/support /kb/articl es/Q240/9/ 82.asp& NoW ebContent= 1
But, here's the references on what is causing your problems:
PATCH: FoxPro 2.6a Patch Files for FoxPro 2.6
http://support.microsoft.c
PATCH: Patch_26.exe Fixes Divide by Zero Error on Fast Computers
http://support.microsoft.c