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

Re: diff-doc.js: Diffing with word 97 service release 2 does not work

From: ruedi_ger <ruediger.meyer_at_googlemail.com>
Date: Mon, 24 Nov 2008 01:51:32 -0800 (PST)

sorry, this is the translated error message:
---------------------------
Windows Script Host
---------------------------
Script: C:\Program Files\TortoiseSVN\Diff-Scripts\diff-doc.js
Line: 184
Row: 2
Error: The object does not support this property or method.
Code: 800A01B6
Source: Runtime Errror in Microsoft JScript

line 184 is: word.ActiveDocument.Windows(1).Visible = 1;
I simply excluded the call when version is below vOffive2000:

// Show the comparison result
if (parseFloat(word.Version) < vOffice2007 && parseFloat(word.Version)
>= vOffice2000)
{
        word.ActiveDocument.Windows(1).Visible = 1;
}

I will try to generate a patch when I have time.

On 22 Nov., 00:45, "Jared Silva" <jay..._at_gmail.com> wrote:
> Are you able to provide a patch?  I could take a shot at this, but it
> is always difficult to test changes based on the version of Word (2003
> here).
>
> Can you please convert the error information to English?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr..._at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-24 10:54:57 CET

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.