Hello,
My variable returns a string that I need to import line by line into a Listbox.
Next, I need to store the string “date and time” in each Listbox1.RowTagAt(index)).
How to do please ?
Shell1.Execute("tmutil listlocalsnapshots / ")
ud = Shell1.Result
(see photo)
I’m moving forward, But how do we test the end of the string ? (I have an OutOfBounds Exception)
Var ud, anArray() As String
Shell1.Execute("tmutil listlocalsnapshots / ")
ud = Shell1.Result
anArray() = ud.ToArray(EndOfLine)
MessageBox(anArray(0))
MessageBox(anArray(1)), etc.
For i = 0 to len(ud) -1 <----- OutOfBoud Exception !
Listbox1.AddRow(anArray(i))
Next