You need to make the application multithread compatible. Its gonna be kinda long if I explain it here so i would suggest you google on Multithreading for VB.NET or read any similar article like the following
http://www.devx.com/DevX/10MinuteSolution/20365