Can't able to read Russian characters using visual foxpro c#

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
Ragavi
Posts: 3
Joined: Tue Dec 01, 2020 8:14 am

Can't able to read Russian characters using visual foxpro c#

Post by Ragavi »

Hi..
When I'm try to read dbf file, the file name containing Russian characters. So I am facing issue like one or more required parameters are not given. I'm using visual fox pro.. Connection string is provider = VFPOLEDB. 1;Data Source = "file path" ;
SQLQUERY =" select * from [" + dbfFilename +" ]" ;
The above error occur this line oledbdatareader reader = reader. ExecuteReader() ;
Could you help me to resolve this issue asap.. Thanks in advance..
User avatar
robert
Posts: 4518
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Can't able to read Russian characters using visual foxpro c#

Post by robert »

Ragavi,
Can you produce a small example.
Please also include the language and codepage information for your workstation.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Ragavi
Posts: 3
Joined: Tue Dec 01, 2020 8:14 am

Can't able to read Russian characters using visual foxpro c#

Post by Ragavi »

Thanks for reply.
This is my sample file ПолесьеПродукт_Товары.Dbf. I'm using visual foxpro 9.0 version. Visual studio 10.. Code page 1251. Domain C#
When try to read this file facing issue like one or more required parameters are not given like this.
If replaced file name and tried working fine.. So I suspect that the problem is file name containing above characters.
If possible to read this character using visual foxpro?
User avatar
robert
Posts: 4518
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Can't able to read Russian characters using visual foxpro c#

Post by robert »

Ragavi,

So you are trying to open the file with Visual FoxPro?
I am afraid that I don't know the answer to this.

Btw: I am not sure what you mean with "Visual studio 10" and "Domain C#".
Do you mean that you code with C# and the VFP OleDb provider ?

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Ragavi
Posts: 3
Joined: Tue Dec 01, 2020 8:14 am

Can't able to read Russian characters using visual foxpro c#

Post by Ragavi »

Yes Robert.. My code is c# and using oledb try to read dbf file.
Post Reply