【问题标题】:Lotus Notes: Open windows Folder using @formula or scriptLotus Notes:使用 @formula 或脚本打开 windows 文件夹
【发布时间】:2014-03-04 21:56:39
【问题描述】:

我使用此代码设置带有目录地址的文档字段:

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.BrowseForFolder(0, "Select destination folder", 0, "N:\") 
If Not (objFolder Is Nothing) Then
    Set objFolderItem = objFolder.Self
    Call uidoc.FieldSetText("arc_file",Cstr(objFolderItem.Path))   
End If

有没有办法打开“arc_file”字段中包含的windows文件夹?

【问题讨论】:

    标签: lotus-notes lotusscript


    【解决方案1】:

    试试这个

    Dim x As Integer
    x=Shell("explorer /root, " & uidoc.FieldGetText("arc_file"),1)
    

    【讨论】:

    • 它在该代码行中返回“意外:行尾;例外:表达式”
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多