All Forums >> [Scripting] >> WSH & Client Side VBScript >> cannot use parenthesis when calling a sub? Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
The code works fine when I eliminate these above parts and change Arg2 to 10 in bellow parts...
If I < (Arg1 - 1) * Arg2 Then Elseif I < (Arg1 * Arg2) Then Window.document.getElementById("idPhotoDump").innerHTML = window.document.getElementById("idPhotoDump").innerHTML &_ "<img src=""" & objFile.Path & """ /><br/>" Elseif I = (Arg1 * Arg2) Then Exit For
I know the problem, just dont know how to solve it.