Public Function GetFile () As XSD_BASE64BINARY
Dim retval As New XSD_BASE64BINARY
Dim ses As New NotesSession, mStream As NotesStream
Set mStream = ses.CreateStream()
Call mStream.Open("C:\Test.txt")
Call retval.setValueFromNotesStream(mStream)
Call mStream.Close()
Set GetFile = retval
End Function