Flanakin Michael C Ctr HQ OSSG/OMR wrote:
> 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.
IIRC, we had some problems because of different office versions with our
script before.
> *// 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.
Can you please send a patch for this?
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Feb 13 19:52:21 2006