VB6 can do many things important...
The problem here's called not knowing what you're doing..... RoFL......
On a single thread, you're setting doneLoading to true and then IMMEDIATELY setting it back to false before your loop.. Of COURSE your loop's going to keep running infinately..