This might be better in the dev list, but I figured I'd go ahead and
post it here, first.
I am using the Word 12 pre-release and have noticed an issue with TSvn
diffs. You get the attached error - The requested member of the
collection does not exist. The line it mentions is actually a blank
line; however, my guess is that the problem is the next executable line,
which is 2 down.
// Merge into the "My" document
baseDoc.Merge(sMergedDoc);
<-- error occurs on this line
// Show the merge result
word.ActiveDocument.Windows(1).Visible = 1;
As you can see, my guess is that the problem is with the
word.ActiveDocument.Windows(1).Visible line. Word 12 does diff/merge
using 3 frames (old, new, and merged). I commented out the line and that
got rid of the error. I decided to change the line to only be for pre-12
releases. If anyone cares, here's the change...
// Show the comparison result
if (Number(word.Version) < 12)
{
word.ActiveDocument.Windows(1).Visible = 1;
}
Very simple, but it gets rid of the error message. It is important to
note that this error doesn't stop Word from functioning. it's just
annoying.
Michael Flanakin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Feb 13 15:59:30 2006