Michael Flanakin's Web Log

Comments and complaints on software and technology in general

  Home  |   Contact  |   Syndication    |   Login
  159 Posts | 18 Stories | 268 Comments | 497 Trackbacks

News

This weblog is no longer being maintained. For the latest, check out www.michaelflanakin.com!

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Miscellaneous

Monday, February 13, 2006 #

The diff/merge built into TSvn causes an error in Word 12: The requested member of the collection does not exist. There's a simple fix, tho. First, open the diff and merge scripts that TSvn runs in a text editor (Diff-Scripts\diff-doc.js and Diff-Scripts\merge-doc.js in the TSvn install directory, which is by default C:\Program Files\TortoiseSVN). Scroll down to line 47 (49 in merge script) and replace it with the following code:

if ( Number(word.Version) < 12 )
{
	word.ActiveDocument.Windows(1).Visible = 1;
}

Like I said, very simple. I just got very annoyed by that error everytime I opened the file and figured I'd post something for others.