Skip to Content
Former Member
Nov 24, 2004 at 01:27 PM

DI API 2004 vs. 65


Hi everybody!

This is my first post in this forum, and I hope it won't be the last 😊

I'm was developing and Add-on for SAP BO 65, but recently we decided to use SDK 2004. The thing is that if I still use the DI API Version 65 in my project there is no fail so far in the B1 2004 client. But if I add to my references the DI API Version 2004 instead for version 65 the object company is unable to connect giving me a generic error "Error while trying to initialize database" message. Im pretty sure that it is a dumb problem, but I'm stuck in this lines. Here is the code:

With myCompany

.UseTrusted = False

.Server = "(local)"

.CompanyDB = "SBODemo_US"

.UserName = "manager"

.Password = "manager"

.language = ln_English

End With


The other question I would like to ask is how recommendable is to use DI API version 65 when I'm developing for BO 2004? I installed the SDK DI API 2004 but I haven't found any chm file regarding DI API 2004 in my computer 😔

Thanks in advance!