470,593 Members | 2,376 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,593 developers. It's quick & easy.

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 14504
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by dunnm | last post: by
5 posts views Thread by Benjamin de Waal | last post: by
2 posts views Thread by John Salerno | last post: by
2 posts views Thread by Robert Reijntjes | last post: by
8 posts views Thread by smeenehan | last post: by
6 posts views Thread by arne.muller | last post: by
10 posts views Thread by Tyler | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.