Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8411

Re: How to declare "oPathAdmin"

$
0
0

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


View Pedro Magueija's profile on LinkedIn


Viewing all articles
Browse latest Browse all 8411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>