lotus notes如何批量输出附件

lotus notes如何批量输出附件,最好能够远程一下,谢谢。

参与13

4 同行回答

szkenszken szkenszken 其它 contempo
http://www.ibm.com/developerworks/cn/lotus/notes-attachment-export/显示全部
互联网服务 · 2016-03-18
浏览1539
deng5538724 deng5538724 软件开发工程师 Vtech
多看看帮助, 帮助上写的例子是这样的, 参考一下。 Dim doc As NotesDocumentDim rtitem As Variant\'...set value of doc...Set rtitem = doc.GetFirstItem( \"Body\" )If ( rtitem.Type = RICHTEXT ) Then  Forall o In rtitem.EmbeddedObjects    I...显示全部

多看看帮助, 帮助上写的例子是这样的, 参考一下。

Dim doc As NotesDocument

Dim rtitem As Variant

\'...set value of doc...

Set rtitem = doc.GetFirstItem( \"Body\" )

If ( rtitem.Type = RICHTEXT ) Then  

Forall o In rtitem.EmbeddedObjects

   If ( o.Type = EMBED_ATTACHMENT ) Then      

Call o.ExtractFile( \"c:\samples\\" & o.Source )

     Call o.Remove      Call doc.Save( False, True )   

End If  

End

Forall

End If

收起
互联网服务 · 2016-02-04
浏览1504
deng5538724 deng5538724 软件开发工程师 Vtech
                  Set rtitem =doc.GetFirstItem(AttFields(af))              If Not rtitem Is Nothing Then            ...显示全部

                  Set rtitem =doc.GetFirstItem(AttFields(af))

              If Not rtitem Is Nothing Then

               If ( rtitem.Type = RICHTEXT ) Then

                          If Not Isempty(rtitem.EmbeddedObjects) Then

                 Forall o In rtitem.EmbeddedObjects

                                                    Call o.ExtractFile( \"d:\vttdmsatt\\" & o.name)                                                                                                       End Forall

                End If       

              End If

收起
互联网服务 · 2016-02-04
浏览1471

提问者

hupei
软件开发工程师 arch
评论1

相关问题

相关资料

问题状态

  • 发布时间:2016-02-04
  • 关注会员:4 人
  • 问题浏览:4716
  • 最近回答:2016-03-18
  • X社区推广