locked
Deletion & Memory Leak Word 2003 RRS feed

  • Question

  • I try to delete a table from a certain range, but get an error: Insufficient Amount of Memory.

    Here is my code:

    WordInterop.Range _range = XmlNode.Range;

    _range.Tables[1].Tables[j + 1].Delete();

    What is interesting - Table gets deleted and the second time I call that same code it doesn't fire any exceptions...

    Wonder what could cause that behavior and how to fix it?

     

    Thanks, Dmitry

    Wednesday, January 11, 2006 12:55 PM

Answers