LOTUSSCRIPT/COM/OLE CLASSES
Examples: Import method
1. This form action imports a file into the Body field of the current UI document. The user selects the file and type.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.GotoField("Body")
Call uidoc.Import
End Sub
2. This form action imports a BMP file into the Body field of the current UI document.
Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.GotoField("Body")
Call uidoc.Import("BMP Image", "c:\Windows\Red Blocks.bmp")
End Sub
Siehe auch
Import method
Glossar
Ihre Kommentare zur
Hilfe
oder zur
Verwendbarkeit der Software
?
Hilfe zur Hilfe
Inhalt der gesamten Hilfe
Glossar