Hi, I have an old application in VB6 and Advantage Local Server.
I'm trying to create a simple VB .NET application to read some DBF files of the old application. To reutilize code I'm using ADO 2.6 through Interop but can't get a connection to work. It seems it isn't detecting the Advantage OLEDB Provider Can't I use the installed version of the Advantage Ole Db? Even this code doesn't work: Dim cn As ADODB.Connection cn = New ADODB.Connection cn.Open() It yields "A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in TestApplication.exe" Thanks |
Does the platform match? (32-Bit vs 64-Bit)
Thanks Jens, I didn't even remember about that.
I was using Advantage OleDb version 8.1 and, at that time, there wasn't a 64bit version.
I'll try it out...