Re: Clipper and ADO
From: Martin Walke (martin.walke_at_spamvega.co.uk)
Date: 06/03/04
- Next message: J French: "Re: Textbox limitation"
- Previous message: B0nj: "Re: Regular expression help needed"
- In reply to: Jhon: "Re: Clipper and ADO"
- Next in thread: Jhon: "Re: Clipper and ADO"
- Reply: Jhon: "Re: Clipper and ADO"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Jun 2004 09:44:11 +0100
Jhon,
It'll be the ODBC driver. Look for the ODBC Admin icon in control panel. In
win2k (and perhaps XP) it's under the administration tools icon. If not,
then check:
a) your OS disk
b) Office disk (data access drivers)
c) download from the MS site
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetmicrosoft_desktop_database_drivers.asp
Once loaded, you need to set up an ODBC data source connection via the
control panel icon. Then you can use the data view wizard in VB6 to connect
to this connection (?if that makes sense). The wizard will show you what the
connection string should be - something like
DSN=dbf;DBQ=c:\jhon;DefaultDir=c:\jhon;FIL=dBase III
I'm not 100% sure how it determines which dbase file to access from the
directory specified in the connection string but the above MS link should
provide you with some pointers. If not search using dbase "odbc
connection string" . I got about 95 hits so there's plenty out there.
When you deploy, you'll need to:
a) copy the DBase drivers to the target machine
b) create the ODBC data source connection
HTH
Martin
"Jhon" <anonymous@discussions.microsoft.com> wrote in message
news:0D0C9C11-C245-47AC-AA4D-5BFE6BE6E975@microsoft.com...
> Hi Martin,
>
> How can I check if Dbase driver is loaded? If no, from or where can I load
it?
>
> What I need is:
> 1. I have Client.dbf in C:\Jhon folder
> 2. conn as ADODB.Connection
> 3. conn.ConnectionString="that's what I need....."
>
> Thank you!
>
> Jhon
- Next message: J French: "Re: Textbox limitation"
- Previous message: B0nj: "Re: Regular expression help needed"
- In reply to: Jhon: "Re: Clipper and ADO"
- Next in thread: Jhon: "Re: Clipper and ADO"
- Reply: Jhon: "Re: Clipper and ADO"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|