I build and save the Word output file in a VB.NET subroutine. At the end of the subroutine, I set MainDocument = Nothing and MainBuilder = Nothing.
Yet, when I call the routine again, this time with a different output, it duplicates the first output. That is, the first Word output is apparently still in memory, even though I re-instantiate all objects at the beginning of the subroutine.
It's as if the .DLL remembers the output irrespective of VB.NET calls.
I looked for a MainDocument.Clear or MainBuilder.Clear (or some such equivilant). How do I tell Aspose.Word to flush the just-saved-to-file Word document from memory?
Robert Keller