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

Deletion & Memory Leak Word 2003
Godhascometoearth
It appears that you have made two posts on this issue. Please see my response on the other post (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=198543&SiteID=1) which I believe addresses this issue.
Sincerely,
Geoff Darst
Microsoft VSTO Team