I dont know that much about threading, so I just looked at the namespace and I came up with this. Basically I want the sub to run on a separate thread:

VB Code:
  1. Private Sub pnlThumbs_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles pnlThumbs.Paint
  2.         Dim t As New Threading.Thread(AddressOf LoadVisibleThumbs)
  3.         t.Start()
  4.     End Sub
it works fine. I just want to make sure I'm doing it right.