SyncLock aaaa bla bla bla My.Computer.FileSystem.WriteAllText("d:\del12.txt", sb.ToString, True) End SyncLock