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

Re: Excel diff script (extended version)

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2007-05-25 00:49:06 CEST

On Friday 25 May 2007 00:21, Jared Silva wrote:
> r9392: "Use CreateObject, not CreatexObject for vb-scripts."
>
> wscript.exe "C:\...\diff-xls.vbs" %base %mine //E:vbscript
>
> Windows Script Host
> Script: C:\...\diff-xls.vbs
> Line: 13
> Char: 1
> Error: ActiveX component can't create object:
> 'Scripting.FileSystemxObject' Code: 800A01AD
> Source: Microsoft VBScript runtime error
>
> Steve! You missed one!
>
> Index: diff-xls.vbs
> ===================================================================
> --- diff-xls.vbs (revision 203)
> +++ diff-xls.vbs (working copy)
> @@ -10,7 +10,7 @@
> sBaseDoc = objArgs(0)
> sNewDoc = objArgs(1)
>
> -Set objScript = CreateObject("Scripting.FileSystemxObject")
> +Set objScript = CreateObject("Scripting.FileSystemObject")
> If objScript.FileExists(sBaseDoc) = False Then
> MsgBox "File " + sBaseDoc +" does not exist. Cannot compare the
> documents.", vbExclamation, "File not found"
> Wscript.Quit 1

Thanks, applied in revision 9553 and merged into 1.4.x in revision 9554

Tobias

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri May 25 00:50:17 2007

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.