xsharp.eu • Can't able to read Russian characters using visual foxpro c#
Page 1 of 1

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

Posted: Tue Dec 01, 2020 8:29 am
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..

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

Posted: Tue Dec 01, 2020 9:52 am
by robert
Ragavi,
Can you produce a small example.
Please also include the language and codepage information for your workstation.

Robert

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

Posted: Tue Dec 01, 2020 10:20 am
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?

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

Posted: Tue Dec 01, 2020 10:35 am
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

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

Posted: Tue Dec 01, 2020 10:38 am
by Ragavi
Yes Robert.. My code is c# and using oledb try to read dbf file.