Link to home
Create AccountLog in
Avatar of Malibucompany
Malibucompany

asked on

FoxPro in WIndows 10

Does anyone know if  Fox Pro will work In windows   10 ?
Avatar of John
John
Flag of Canada image

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.
Avatar of 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?
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
https://www.microsoft.com/en-us/download/details.aspx?id=13959

Source:
http://mattslay.com/does-microsoft-visual-foxpro-run-on-windows-10/
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.

https://davidacuna.wordpress.com/2015/09/12/funcionan-las-aplicaciones-desarrolladas-con-vfp9-en-windows-10/
technically it depends on the version (which is mentioned in your question).

IMPO:

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?
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.
ASKER CERTIFIED SOLUTION
Avatar of Cyril Joudieh
Cyril Joudieh
Flag of Lebanon image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
VFP 7 and VFP 9 works in Windows 10 64-bit
VFP 6 and earlier doesn't
Avatar of Member_2_7964967
Member_2_7964967

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.
Start your own question and post back the details.
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 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.
Same result.  "Invalid path or file name"
Note that this worked as recently as last week.  Something must have changed somewhere.
You have to put the the whole path and filename in quotes if they contain spaces.
What has changed must be the default drive. You can't CD into a new drive and folder at once.
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.
Does the current Windows User have access to that folder?
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.
Glad you got it working.
Thanks for your encouragement.  That's what got me thru.!!  Thanks.
My VFP app is wokring fine in Win11
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?
Never knew it existed. Will (probably) give it a try. Thx for the info