[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: Jared Silva <jayrod_at_gmail.com>
Date: 2007-05-25 00:21:53 CEST

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

---------------------------------------------------------------------
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:22:01 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.