reading and writing dbf files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrus

    #1

    reading and writing dbf files

    For file based export-import with existing programs I need to implement dbf
    format file read/write from my .NET 2 winforms application.
    It is not possible to force users to install something so this must be
    included with my application.

    Where to find C# source code which read/writes dbf files ?

    Andrus.


  • Ignacio Machin \( .NET/ C# MVP \)

    #2
    Re: reading and writing dbf files

    Hi,

    What kind of dbf files you will interact with?

    Depending of what created it (VFP, DB(3,4,5), etc) you could need a
    different driver.

    --
    Ignacio Machin
    The #1 Warehouse Management System & Direct Store Delivery Software (DSD) for QuickBooks & ERP Systems – LaceUp Solutions

    Mobile & warehouse Solutions.
    "Andrus" <kobruleht2@hot .eewrote in message
    news:%233OoLQrV IHA.5508@TK2MSF TNGP04.phx.gbl. ..
    For file based export-import with existing programs I need to implement
    dbf format file read/write from my .NET 2 winforms application.
    It is not possible to force users to install something so this must be
    included with my application.
    >
    Where to find C# source code which read/writes dbf files ?
    >
    Andrus.
    >

    Comment

    • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

      #3
      Re: reading and writing dbf files

      Andrus wrote:
      For file based export-import with existing programs I need to implement dbf
      format file read/write from my .NET 2 winforms application.
      It is not possible to force users to install something so this must be
      included with my application.
      >
      Where to find C# source code which read/writes dbf files ?
      Can you use the ODBC driver for Dbase ?

      Arne

      Comment

      • Andrus

        #4
        Re: reading and writing dbf files

        Can you use the ODBC driver for Dbase ?

        I need to create application which can be deployed by copying, without
        requiring to write to registry.
        How I can distribute ODBC driver with my application and use it without
        registry access?

        I need only simple reading Fox2x dbf files and creating dbf files in any
        format.

        dbf structure is simple. I think this requires not too much code for this,
        some code must exist.

        Andrus.


        Comment

        • Andrus

          #5
          Re: reading and writing dbf files

          In interacting with VFP 9 application.

          It creates files in FoxPro 2x dbf format.
          VFP 9 can read most other dbf formats so it is possible to create dbf in any
          format.

          I'm looking for a way to create dbf file in exclusive mode and read them in
          exclusive mode.
          No multi user access, indexes are not required.

          Andrus.

          "Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions .comwrote in
          message news:%23lZeqzrV IHA.1204@TK2MSF TNGP03.phx.gbl. ..
          Hi,
          >
          What kind of dbf files you will interact with?
          >
          Depending of what created it (VFP, DB(3,4,5), etc) you could need a
          different driver.
          >
          --
          Ignacio Machin
          The #1 Warehouse Management System & Direct Store Delivery Software (DSD) for QuickBooks & ERP Systems – LaceUp Solutions

          Mobile & warehouse Solutions.
          "Andrus" <kobruleht2@hot .eewrote in message
          news:%233OoLQrV IHA.5508@TK2MSF TNGP04.phx.gbl. ..
          >For file based export-import with existing programs I need to implement
          >dbf format file read/write from my .NET 2 winforms application.
          >It is not possible to force users to install something so this must be
          >included with my application.
          >>
          >Where to find C# source code which read/writes dbf files ?
          >>
          >Andrus.
          >>
          >
          >

          Comment

          • danger

            #6
            Re: reading and writing dbf files

            On Jan 14, 8:33 pm, "Andrus" <kobrule...@hot .eewrote:
            Can you use the ODBC driver for Dbase ?
            >
            I need to create application which can be deployed by copying, without
            requiring to write to registry.
            How I can distribute ODBC driver with my application and use it without
            registry access?
            >
            I need only simple reading Fox2x dbf files and creating dbf files in any
            format.
            >
            dbf structure is simple. I think this requires not too much code for this,
            some code must exist.
            >
            Andrus.
            I used dbf files some months ago and i used this driver:
            http://www.microsoft.com/downloads/d...displaylang=en

            bye bye

            Comment

            Working...