PC Review


Reply
Thread Tools Rate Thread

dbase III, IV, 5 files and ADO 2.0

 
 
ray well
Guest
Posts: n/a
 
      13th Feb 2007
hi,

how can i access a dBase *.dbf database in CODE only, in Visual Basic .Net
2005 and Ado 2.0 ?

this is for a off site machine where i have to access the data thru code.
how do i make the connection and which provider do i use? all the code i saw
is for Sql server or Access. i would prefer to access the database directly
without using an Access front end to which the *.dbf files are linked.

a few lines of code would be appreciated.

thanks,

ray


 
Reply With Quote
 
 
 
 
Terry Olsen
Guest
Posts: n/a
 
      13th Feb 2007
You just need the right connection string. See www.connectionstrings.com

Then you import the System.Data.OleDb Namespace and use its methods just
like you would use the SqlClient methods.

Don't have time right now to throw out some code, but if you need further
information, shout back.


"ray well" <(E-Mail Removed)> wrote in message
news:e5W$(E-Mail Removed)...
> hi,
>
> how can i access a dBase *.dbf database in CODE only, in Visual Basic .Net
> 2005 and Ado 2.0 ?
>
> this is for a off site machine where i have to access the data thru code.
> how do i make the connection and which provider do i use? all the code i
> saw is for Sql server or Access. i would prefer to access the database
> directly without using an Access front end to which the *.dbf files are
> linked.
>
> a few lines of code would be appreciated.
>
> thanks,
>
> ray
>



 
Reply With Quote
 
ray well
Guest
Posts: n/a
 
      13th Feb 2007
thanks terry, it worked. ray


 
Reply With Quote
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      15th Feb 2007
use _ACCESS_ this dotnet _CRAP_ is bloatware




On Feb 13, 6:17 am, "ray well" <nos...@nospam.com> wrote:
> hi,
>
> how can i access a dBase *.dbf database in CODE only, in Visual Basic .Net
> 2005 and Ado 2.0 ?
>
> this is for a off site machine where i have to access the data thru code.
> how do i make the connection and which provider do i use? all the code i saw
> is for Sql server or Access. i would prefer to access the database directly
> without using an Access front end to which the *.dbf files are linked.
>
> a few lines of code would be appreciated.
>
> thanks,
>
> ray



 
Reply With Quote
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      15th Feb 2007
use _ACCESS_ this dotnet _CRAP_ is bloatware




On Feb 13, 6:17 am, "ray well" <nos...@nospam.com> wrote:
> hi,
>
> how can i access a dBase *.dbf database in CODE only, in Visual Basic .Net
> 2005 and Ado 2.0 ?
>
> this is for a off site machine where i have to access the data thru code.
> how do i make the connection and which provider do i use? all the code i saw
> is for Sql server or Access. i would prefer to access the database directly
> without using an Access front end to which the *.dbf files are linked.
>
> a few lines of code would be appreciated.
>
> thanks,
>
> ray



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dbase III, IV, 5 files and ADO 2.0 ray well Microsoft ADO .NET 1 13th Feb 2007 04:38 PM
dbase files mike Freeware 4 13th Mar 2006 09:04 PM
Importing DBase IV files Peter Microsoft Access External Data 1 20th Jul 2004 03:17 PM
Pack dBase files Arvin Villodres Microsoft Access 5 18th Jan 2004 03:52 PM
Can't import dbase IV files Cate Microsoft Access External Data 3 24th Jul 2003 06:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:02 AM.