Welcome, Guest
Username: Password: Remember me
This public forum is meant for questions and discussions about Visual FoxPro
  • Page:
  • 1

TOPIC:

Can't able to read Russian characters using visual foxpro c# 01 Dec 2020 09:29 #16814

  • Ragavi
  • Ragavi's Avatar
  • Topic Author


  • Posts: 3
  • 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..

    Please Log in or Create an account to join the conversation.

    Can't able to read Russian characters using visual foxpro c# 01 Dec 2020 10:52 #16818

    • robert
    • robert's Avatar


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

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Can't able to read Russian characters using visual foxpro c# 01 Dec 2020 11:20 #16821

    • Ragavi
    • Ragavi's Avatar
    • Topic Author


  • Posts: 3
  • 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?

    Please Log in or Create an account to join the conversation.

    Can't able to read Russian characters using visual foxpro c# 01 Dec 2020 11:35 #16822

    • robert
    • robert's Avatar


  • Posts: 3268
  • 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

    Please Log in or Create an account to join the conversation.

    Can't able to read Russian characters using visual foxpro c# 01 Dec 2020 11:38 #16823

    • Ragavi
    • Ragavi's Avatar
    • Topic Author


  • Posts: 3
  • Yes Robert.. My code is c# and using oledb try to read dbf file.

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1