J
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim rtitem As NotesRichTextItem
Dim object As NotesEmbeddedObject
Dim filename As Variant
Set uidoc =ws.CurrentDocument
Set doc = uidoc.Document
Dim path As String
path ="%USERPROFILE%"
filename = ws.OpenFileDialog( True, "Выберите файл(ы)",, path)
Return value stringArray An array of type String.
(If the user clicks OK) the names of the selected files, one name per array element.
(If the user clicks Cancel) the EMPTY value. IsEmpty is True.
Sub Initialize
Dim ws As New NotesUIWorkspace
REM Get filename from user
filenames = ws.OpenFileDialog( _
True, "Select files to be deleted",, "c:\work")
If Not(Isempty(filenames)) Then
Forall filename In filenames
Kill filename
End Forall
End If
End Sub
If Isempty(filenames) Then
If Not Isempty(filenames) Then
Взломай свой первый сервер и прокачай скилл — Начни игру на HackerLab