Could someone please explain why if I use the getattachment method I first have to set the notesitem value as a string?
ie
fileName = notesitem.Values(0)
Set notesembeddedobject = doc.GetAttachment
(fileName )
Many thanks
Could someone please explain why if I use the getattachment method I first have to set the notesitem value as a string?
ie
fileName = notesitem.Values(0)
Set notesembeddedobject = doc.GetAttachment
(fileName )
Many thanks
Subject: Getattachment method
If think you have got it wrong.
GetAttachment method of the NotesDocument class “expects” a parameter. This parameter is the “filename” which you would specify inorder to obtain a handle to it via the NotesEmbeddedObject class.
Read the designer help for more clarity.
cheers !!
Ashish