Now it is very hard to control the content of frames
Please make classes NotesFrameSet, NotesFrame
Example:
Dim nfsCurrent as NotesFrameSet
'ndCurrent - NotesDocument
Set nfsCurrent = ndCurrent.ParentFramSet
Dim v as Variant
v = nfsCurrent.GetFrame("Preview").Content
v can be NotesDocument, NotesView and so on... it is not good, but it is better then nothing... You can make another one:
Dim