Good afternoon,
I needed to connect to ADM from VB.Net to list Companies and Users.
To make the normal connection use the following code:
motor = New ErpBS()
motor.AbreEmpresaTrabalho(EnumTipoPlataforma.tpEmpresarial, PRIEmpresa, PRIUser, PRIPass)
But for ADM I'm not getting it, how should I do it, I have the following code to give error:
Dim motor As AdmBS
motor.AbrePRIEMPRE(EnumTipoPlataforma.tpEmpresarial, PRIUser, PRIPass)