Avatar of Malibucompany
 asked on

FoxPro in WIndows 10

Does anyone know if  Fox Pro will work In windows   10 ?

Avatar of undefined
Last Comment

8/22/2022 - Mon

I would not expect it to run, especially in Windows 10 64-bit. Most of the software I had in Windows 7 had to be upgraded for Windows 8.1 and again for Windows 10. Some legacy software runs but not much of mine.

I have Office 2016 on subscription (very economical). What about using Access 2016 instead of Fox Pro?

I seriously doubt it. It didn't even work right out of the box in Vista.

If you really need it, i'd look at Windows 10 + Hyper-V role + Windows XP virtual machine + FoxPro running inside the virtual machine. Basically you need to go back in time.
Pavel Celba

Visual FoxPro is a Win32 API application so it will work on all operating systems supporting Win32 API. And all Microsoft Windows operating systems for Intel platform support Win32 API. So why should be Visual FoxPro exception to this rule?

In other words: Visual FoxPro works in Windows 8, 8.1, and 10 both 32 and 64 bit because it uses still supported Win32 API.

Applications written in Visual FoxPro are not so clear... They can use 3-rd party libraries, they can use restricted folders, they can do many things which are not allowed in newer operating systems. So I cannot say all existing VFP applications will run under Windows 10 but if they are running under Windows 8 then you should not expect problems under Windows 10. If you are using VFP without non-fox add-ons and controls then Windows 10 is OK.

And then we have the Virtual machine as the last instance...

Remember printer drivers can also cause incompatibilities...

Direct jump from XP to 10 will cause problems in the app most probably. Anyway you have to re-test everything.

MS Access is not good option. You cannot use two different run-times on the same PC, so to create an application also means to create it in all available Access versions because you cannot force your customers to reinstall their existing Access run-time.

BTW, I am still using Office 2010 for Home and Business. The cost was about $100 for 2 licenses if I remember it well so the effectiveness of the Office 2016 subscription is questionable comparing to past times.

The LibreOffice (https://www.libreoffice.org/) will do the same job for a free. What is the Office 2016 advantage against the LibreOffice?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Jackie Man

You should have no problem.

After new install from your Visual FoxPro 9 CD in windows 10, install Visual FoxPro 9.0 SP2.

Microsoft Visual FoxPro 9.0 Service Pack 2.0


I have a lot of VFP9 developments working on windows 7,8, 8.1 and 10.
It works, but as told Jackie Man, please install the latest SP2
I wrote in my personal blog in spanish my experience about using it.


technically it depends on the version (which is mentioned in your question).


FoxPro 2.5/2.6 for DOS should be okay as it runs in command prompt window and not Windows APIs are required.

FoxPro 2.6 for Windows and Visual FoxPro 3.0 to 6.0 should NOT be supported as they are pure 16-bit applications.

NOT sure for VFP 7.0 to 8.0 as they are for both 16-bit and 32-bit environments.

VFP 9.0 should be technically supported. if you could run it on Windows 8, it should be okay on Windows 10.

did you test it yourself and find any known issue?
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Pavel Celba

Just a note: Neither VFP version is 16 bit, all of them are 32 bit. VFP 3.0 came with Win32s subsystem which allowed to install VFP 3 on Win 3.1x. More info is e.g. here.
Cyril Joudieh

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Thomas Swaney

VFP 7 and VFP 9 works in Windows 10 64-bit
VFP 6 and earlier doesn't

I had been running VFP 7 on Windows 10 and now it has stopped and all I get is the command window, I don't see the program running at all.  Any ideas, I have install and reinstall numerous times including cleaning the registry just to be sure.  Thanks.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Jackie Man

Start your own question and post back the details.

Daniel E Moerman

MS Visual Foxpro has apparently lately changed somehow.  It cannot recognize a CD (Change Directory) command.  For example, the command
CD d:\datafi~1\databa~1\synth99
has worked for years to change the active directory from whatever it is currently to

D:\Data Files\Databases\synth99

What to do? Typing the actual name with spaces and more than 8 characters doesn't work either. Please advise.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Thomas Swaney

Try it in quotes CD "d:\datafi~1\databa~1\synth99\"

You do not have to use the short name while using the quotes either and spaces are allowed.
Daniel E Moerman

Same result.  "Invalid path or file name"
Daniel E Moerman

Note that this worked as recently as last week.  Something must have changed somewhere.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Cyril Joudieh

You have to put the the whole path and filename in quotes if they contain spaces.
Cyril Joudieh

What has changed must be the default drive. You can't CD into a new drive and folder at once.
Thomas Swaney

Open the command prompt and try to use that command there. If it finds the directory then I would try to use the full path copied from File Explorer within the quotes.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Cyril Joudieh

Does the current Windows User have access to that folder?
Daniel E Moerman

Thank you all for your very good counsel.

I have found that the old abbreviated "8.3" style doesn't work any more.  I replaced those strings in the config.fpw file with the longer form style, and they do work.  

So, the format that worked for many years, until last week, I think, like this

CD d:\datafi~1\databa~1\fivefl~1

no longer works.  What does now work is this

CD "D:\Data Files\Databases\Five Floras"

To make this work in the config.fpw file looks like this:

f5='cd "D:\Data Files\Databases\Five Floras"'

This will make function key F5 put that line into FP, and when you hit return, you are in the directory where you want to be.

I don't quite understand what happened here, but there was an update on July 12; that could be when the change occurred.  

Again, thanks for the help I got here.  Very much appreciated.
Thomas Swaney

Glad you got it working.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Daniel E Moerman

Thanks for your encouragement.  That's what got me thru.!!  Thanks.

My VFP app is wokring fine in Win11
Pavel Celba

OK, this a closed question already so if you would like to discuss VFP on W11 open a new question please.
BTW, did you try 64 bit VFP Advanced?
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.

Never knew it existed. Will (probably) give it a try. Thx for the info