You cannot open VFP9 table using VFP ODBC driver. See
https://www.berezniker.com/content/pages/visual-foxpro/visual-foxpro-odbc-driver>
>I need to open a VFP9 free table (DBF) in C # .NET.
>
>I'm trying via ODBC but is presenting the msg:
>
>ERROR [IM002] [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified
>
>My font:
>
>public static DataTable GetDataTableDBF(string strFileName)
> {
> System.Data.Odbc.OdbcConnection conn = new System.Data.Odbc.OdbcConnection( "Driver={testdbf};SourceType=DBF;SourceDB=c:\\windows\\syswow64\\;Exclusive=No");
>
>
> conn.Open(); // The error is here
>
> }
>
>Can someone help me ?
>
>Thanks in advance,
>
>[]´s
>
>Dionísio
--sb--