By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,652 Members | 1,466 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,652 IT Pros & Developers. It's quick & easy.

reading and writing dbf files

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.