Hi Leon,
It's probably the \.
try it like this:
CompanyService compServ = b1.Company.GetCompanyService(); | |
PathAdmin paths = compServ.GetPathAdmin(); |
paths.AttachmentsFolderPath = @"c:\Documents\Data"; |
compServ.UpdatePathAdmin(paths); |
Regarding your question about the com_service,
Dim com_Service As SAPbobsCOM.CompanyService
Dim CompanyService As SAPbobsCOM.CompanyService
seems that in your code both com_service and CompanyService are the same thing. You can just use one and delete the other.
Best regards,
Pedro Magueija