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

asked 19 Nov '14, 11:59

papi's gravatar image

papi
16224
accept rate: 0%

1

Does the platform match? (32-Bit vs 64-Bit)

(20 Nov '14, 03:09) Jens M├╝hlenhoff

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...

(21 Nov '14, 01:46) papi
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×76
×16

Asked: 19 Nov '14, 11:59

Seen: 1,813 times

Last updated: 21 Nov '14, 01:46

Advantage Developer Zone Contact Us Privacy Policy Copyright Info


Powered by Advantage Database Server and OSQA
Disclaimer: Opinions expressed here are those of the poster and do not necessarily reflect the views of the company.