We're trying to adapt some vba scripts to Microstation Connect Edition.
One does an Microsoft Access Database import / export.
In SS4 we're establishing a connection to an access database with the following code
Set MyDBcon = New ADODB.Connection MyDBcon.CursorLocation = adUseClient 'db connection On Error GoTo Error_Connection MyDBcon.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + stMyDbFileLocal, "", "" On Error GoTo 0
This fails in CE.(The file which 'stMyDbFileLocal' points to exists.)
We have some references loaded in ss4 as you can see in the attached image.
Do we have to reference additional / other files to make this work in CE?
Ingo
Hi Ingo,
I recall similar topic was discussed in the past already (had no time to do a detail searching).
MicroStation CONNECT Edition is 64bit application, so you have to ensure 64bit ODBC / OLE DB / etc. database drivers are installed properly. If you have no 64bit Office installed, they are probably not availalbe on your computer and you have to download them. I assume also reference will be different.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point