T
Ty Moffett
Is there anything obvious wrong with this little loop? The second statement
throws an exception "Enumeration has not started. Call MoveNext." I thought
that is what I did in line one.
My intent here is to take what is left in the queue and write it back to the
text file from which it came so it can survive an upcoming reboot.
Do While myQ.GetEnumerator.MoveNext
sw = myQ.GetEnumerator.Current 'sw is a StreamWriter
Loop
throws an exception "Enumeration has not started. Call MoveNext." I thought
that is what I did in line one.
My intent here is to take what is left in the queue and write it back to the
text file from which it came so it can survive an upcoming reboot.
Do While myQ.GetEnumerator.MoveNext
sw = myQ.GetEnumerator.Current 'sw is a StreamWriter
Loop