Start a new thread (or use the BackgroundWorker class) and put the retrieval code there.