Hi all,
I am trying to login sapb1 thought internet by using DI.
my code as below
OCo = New SAPbobsCOM.Company
OCo.Server = ServerIP
OCo.LicenseServer = ServerIP & ":30000"
OCo.UserName = B1Name
OCo.Password = B1Password
OCo.CompanyDB = CheckDBName()
OCo.language = SAPbobsCOM.BoSuppLangs.ln_English ' change to your language
OCo.DbUserName = DBUserID
OCo.DbPassword = DBPassword
OCo.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005
OCo.Connect()
it keep on return -114 to me. I know it mean no server define but I pretty sure that ip is correct. Any idea for that?
Regards
Wong