| |||||||||||
Anonymous
![]() |
I am attempting to take a design element that was converted to a document through a C application back into a design element in LotusScript calling the C API. Here is a overview of the program flow. The problem I am having is the error returned from NSFNoteUpdate says that Notes Class cannot be changed after written to disk, which tells me that during the NSFNoteCopy it is not being sent to memory. Is it possible to move the element to memory and modify it before saving to disk via LotusScript? Am I missing something? TIA '//Open Notes db and retrieve handle irc = NSFDbOpen(dbCurrent.FilePath, hdb) '// Copy Note to memory irc = NSFNoteCopy(hNote, hNoteNew) '// Convert TWIN document to design element Call NSFNoteSetInfo(hNoteNew, NOTE_CLASS, SPECIAL_ID_NOTE Or NOTE_CLASS_VIEW) '// Update disk from memory irc = NSFNoteUpdate (hNoteNew,0)
|