I have a addon running and want to make a connection with another database to collect some data. It is on the same server, same user, etc.
The easy way looks like:
nCompany = New SAPbobsCOM.Company
nCompany.Server = B1Connections.diCompany.Server
nCompany.LicenseServer = B1Connections.diCompany.LicenseServer
nCompany.CompanyDB = "Other_Db"
nCompany.UserName = B1Connections.diCompany.UserName
nCompany.Password = B1Connections.diCompany.Password
nCompany.DbUserName = B1Connections.diCompany.DbUserName
nCompany.DbPassword = B1Connections.diCompany.DbPassword
This doesn't work!
I guess this is because of passing the passwords.
Is this possible in any way?