Samapico Posted July 23, 2006 Report Posted July 23, 2006 ok, that part made dcme crash when searching for update. For i = LBound(lines) To UBound(lines) Dim parts() As String parts() = Split(lines(i), "=") If parts(0) = "version" Then version = parts(1) ElseIf parts(0) = "url" Then updateurl = parts(1) ElseIf parts(0) = "changes" Then changes = parts(1) changes = replace(changes, "~", vbNewLine) End If Next The If parts(0) = "version" Then line gave me an out of range errorit did the 'for - next' loop correctly for the first 3 values (version, url, and changes), but it did the loop a 4th time, and crashed when trying to read parts(0). I had to change that line: For i = LBound(lines) To UBound(lines)to:For i = LBound(lines) To UBound(lines) - 1to be able to get the 1.2.63 file Would that be all because of the dcmeupdate.txt file having some wrong syntax or something? Or would the - 1 always need to be there?
Drake7707 Posted July 23, 2006 Report Posted July 23, 2006 oh yeah, sorry about that how stupid >.< i changed it in 1.2.63 but i forgot the older versions updates to that one. oops its because the update txt file contained a blank line, and it couldn't split on that fixed
Samapico Posted July 24, 2006 Author Report Posted July 24, 2006 fixed, but whoever updated to 1.2.63 cant update to have that bug fixed?
Drake7707 Posted July 24, 2006 Report Posted July 24, 2006 no i fixed it in the update txt file. So it will work with older versions too
Recommended Posts