History |
OpenAttachment (server files)
Minimum version: 4.0
Purpose
Opens an attachment on the current object on the FirstClass server.
If you don't specify an index, the first attachment is opened.
Syntax
ServerFile.OpenAttachment (Index)
Example
Dim sf as ServerFile
sf.OpenFile("MyConf|MyMsg",fcRead)
sf.OpenAttachment(0)
Debug sf.Filename
sf.CloseObject
sf.OpenAttachment(1)
Debug sf.Filename
| ||||