Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Visual Fox Pro on Windows 10

Visual Fox Pro on Windows 10

Visual Fox Pro on Windows 10


I used to work with Visual FoxPro 9.0 on Windows 7. It was fine for me, at least it did what I wanted.
Recently, I upgraded OS to Windows 10 and installed VFP 9.0 and SP2. The dbf files have cyrillic characters, however, now with Windows 10 VFP does not recognise cyrillic characters anymore.
I am a new user for VFP, may be I installed it incorrectly, or I should deal with encoding... Can you please help me to fix it?


RE: Visual Fox Pro on Windows 10

It sounds like you have a Unicode issue. You need to set the character set to the right Unicode value.
Not sure what that is off the top of my head, but have a look in that area.

Best Regards,

"Everything should be made as simple as possible, and no simpler."hammer

RE: Visual Fox Pro on Windows 10

Did you install an English Windows 10? Did you set your Windows to your language?

While VFP9 is English only within the IDE, it should default to a codepage that'll let you create new DBFs in an ANSI codepage that supports the Cyrillic alphabet and therefore matches the OS language. The HOME() folder contains some resource DLLs for the IDE other than VFP9ENU.DLL (note without the "R" for runtime), but not a VFP9RUS.DLL.

At runtime of your compiled EXEs will take a runtime resource DLL for the language (when you provide them) as VFP9RENU.DLL (note with "R") and several others, like VFP9RRUS.DLL, but within the IDE the localization limits itself to allowing a supported ANSI Codepage for your language. In Western European Windows versions and I guess also in US Windows that's typically Codepage 1252. For Slavic Languages or Russian, it should be 1251.

What's displayed when you do this?


? Cpcurrent()
? Set("Cpcompile") 

VFP would adapt to your Windows if you look for the Language Pack for your Country and install that. If that doesn't help, perhaps a Russian VFP developer can tell you what to change, you can enforce the codepage VFP uses with a config.fpw file that contains CODEPAGE=1251, without such a config VFP will pick one automatic, which is like configuring CODEPAGE=AUTO there.

Bye, Olaf.

Olaf Doschke Software Engineering

RE: Visual Fox Pro on Windows 10

Thank you.

RE: Visual Fox Pro on Windows 10


I have tried to install Russian language pack to Windows 10, but it didn't work.
So, I have degraded back to Windows 7 (I thought it may help =)). Installed Russian package, but VFP still does not recognize Cyrillic =(
When I do this:
? Cpcurrent()
? Set("Cpcompile")

I get this:

Am I doing something completely wrong? I am new to VFP and I am a student now, so there is no one at the University who can help me with this problem...
Please help!


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close