[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

TSvn Word 12 Diff/Merge

From: Flanakin Michael C Ctr HQ OSSG/OMR <Michael.Flanakin.Ctr_at_Gunter.Af.Mil>
Date: 2006-02-13 15:56:29 CET

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
<-- 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
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

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.