472,989 Members | 3,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,989 software developers and data experts.

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.
Jan 14 '08 #1
5 14799
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
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Andrus" <ko********@hot.eewrote in message
news:%2****************@TK2MSFTNGP04.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.

Jan 14 '08 #2
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
Jan 14 '08 #3
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.
Jan 14 '08 #4
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:%2****************@TK2MSFTNGP03.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
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Andrus" <ko********@hot.eewrote in message
news:%2****************@TK2MSFTNGP04.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.


Jan 14 '08 #5
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
Jan 15 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: dunnm | last post by:
This is probably a more appropriate location to post this question. I should have know that since I've found most of the other PHP/PDF information contained in this group. Here's my issue...I...
5
by: Benjamin de Waal | last post by:
Hey all, I'm trying to figure out how to directly write to a device in Windows. Basically, what I'm wanting to do is create an image of a device (specifically, a CompactFlash card that uses a...
2
by: John Salerno | last post by:
I wrote this code just to experiment with writing to and reading from a file. It seems to work fine when writing, but when reading the file, it only prints the filepath to the screen, not the file...
2
by: Robert Reijntjes | last post by:
Hi, I need to read/write data from/to binary files that have an already defined. This means I can't define classes with the attribute. The files also have arrays with variable length. This...
8
by: smeenehan | last post by:
This is a bit of a peculiar problem. First off, this relates to Python Challenge #12, so if you are attempting those and have yet to finish #12, as there are potential spoilers here. I have five...
6
by: arne.muller | last post by:
Hello, I've come across some problems reading strucutres from binary files. Basically I've some strutures typedef struct { int i; double x; int n; double *mz;
10
by: Tyler | last post by:
Hello All: After trying to find an open source alternative to Matlab (or IDL), I am currently getting acquainted with Python and, in particular SciPy, NumPy, and Matplotlib. While I await the...
7
by: random guy | last post by:
Hi, I'm writing a program which creates an index of text files. For each file it processes, the program records the start and end positions (as returned by tellg()) of sections of interest,...
2
by: Clive Green | last post by:
Hello peeps, I am using PHP 5.2.2 together with MP3_Id (a PEAR module for reading and writing MP3 tags). I have been using PHP on the command line (Mac OS X Unix shell, to be precise), and am...
0
Guido Geurs
by: Guido Geurs | last post by:
I'm writing a program that list the contents of a CDrom and also the contents of the ZIP files. When there is a bad Zip file on the CD, the program keeps traying to reed the file and after +- 50...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.