返回列表 回复 发帖

ui函数调用操作系统的哪些库函数呢?

有程序代码:

//--------------------------------------------------------------------
        Dim workspace As New NotesUIWorkspace
        Dim uidoc As NotesUIDocument       
        Dim doc As NotesDocument
       
        Set uidoc=workspace.ComposeDocument("","","附院发文")
        Call uidoc.Save

//----------------------------------------------------------------------
        Dim uidoc As notesuidocument
        Set uidoc=Source
        opened = uidoc.fieldgettext("公文曾打开")
我发现涉及到ui函数的模块,打开就会出错::“无效或文档不存在”,点击确定以后,继续报错“object variable not set”;或者说“无法定位域”。
请问,ui函数究竟涉及到操作系统的哪个库函数或者控件呢?如果我知道究竟缺少哪部分库函数,只要在操作系统中做相应的添加就好了吧?
返回列表