How to read the exchange Calendar in Navision

zzhengzzheng Member Posts: 30
I want to read the other's calendar in exchange server in Navision using the CDO. But I dont know how to do it. Can anyone give me any advices?

Answers

  • zzhengzzheng Member Posts: 30
    When I want to use the code like Fowlloing:
    CDOSession.Logon('XXX.dptech.com.sg\myEmailID','',TRUE,FALSE,-1);

    It doesnot work.
    Any idear is welcome.
  • zzhengzzheng Member Posts: 30
    When I test it in .net .
    CDOSession.Logon("", "", False, True, 0, True, strServer & vbLf & strMailbox)
    This is ok in VB.net.
    So I think the problem is "vbLf" .
    Does anyone know how to change this statement into Navision?
    Thanks a lot!
  • zzhengzzheng Member Posts: 30
    I found the answer by myself.


    char CharvbLf = 10;
    CDOSession.Logon('', '', False, True, 0, True, 'www.www.myserver.com' + CharvbLf & 'myAccount')
  • mjhigginsmjhiggins Member Posts: 57
    can you share more of the code? :D
Sign In or Register to comment.