Re: Connecing to Foxpro database from VB6 (1)

From: Rick Bean (
Date: 05/14/04

Date: Fri, 14 May 2004 15:30:58 -0400

What version of the VFP OLEDB provider are you using? The current one is available at - it was just released in February 2004.

I assume that your real code spells "Data Source" correctly.

You can get sample VFP connection strings from and


"DennisC" <> wrote in message
> I'm having problems connecting to a Foxpro database via ADO in VB6. I've gotten it to work several places using the same method, but it always fails at this point with this message: 'Feature is not available.' Here is my code. Any ideas as to why this works sometimes, but not now?
> Dim cnFox As ADODB.Connection
> Set cnFox = New ADODB.Connection
> cnFox.Open "Provider=vfpoledb;Data Sorurce=\\port\imagedb$\Monthly_Inventory\LocalDB\CB_DB\IN\BR_inventory.dbc"
> The error occurs on the open connection statement. Any help would be greatly appreciated!