From: Giuseppe Napolitano on
Good morning,

i'm a new for sap business one.

I try to connect to company but i releave an error not documented.

the error is -2028 (without description)

my code is following:

'***********************************************************
Comp = New SAPbobsCOM.Company()

Comp.Server = "(local)"
Comp.UseTrusted = False
Comp.language = SAPbobsCOM.BoSuppLangs.ln_English
Comp.CompanyDB = "SBODemo_UK"
Comp.UserName = "manager"
Comp.Password = "manager"

Comp.Connect()

Comp.GetLastError(ercode, ermsg)
'+++++++++++++++++++++++++++++++++++++++++++++


i tried to use sbodemo_it (i'm italian) and italian language but they
don't work.

i changed also .usetrusted to true, but they don't work.

i need your help, (sorry for my english!!!)

thanks for the attention

peppe


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG