zoukankan      html  css  js  c++  java
  • Notes相关开发Tips

    这几天研究了一下Notes相关开发技术。有两点有所突破

    1. 可以编程方式从mailbox中下载附件

      要点为

               NotesView = NotesDatabase.GetView("$inbox")

               NotesDocument = NoteView.GetFirstDocument();

               NotesDocument.GetItemValue("$File"); //此处为获得附件名称,返回一个object[]数组

               NotesDocument.GetAttachment("filename") ; // 返回NotesEmbededObject

    2. 编程切换ID

       要点为

               NotesSession.Initilize("password");//用当前缺省ID初始化session, 如何用指定的ID初始化,现在有的方法就是直接修改notes.ini文件中的keyFilename. 因为这个值是被用作缺省id

               NotesRegistionClas = NotesSession.CreateRegistion();

               NotesRegistion.SwitchToID("notes.id","password") ;

  • 相关阅读:
    杂题
    jzoj5679
    CF434E
    jzoj6152
    jzoj6150
    mysql 第06章 运算符
    mysql 第05章 数据类型
    mysql 第04章 SQL语句
    mysql 第03章 体系结构
    mysql 第02章 基本操作
  • 原文地址:https://www.cnblogs.com/sdikerdong/p/2530782.html
Copyright © 2011-2022 走看看