I like to create different threads for different processes in vb application. For example, I like to update the database at the same time I like to write the data to a flat file. I like to be able to do these two things separately from each other so that they don't wait for each other until one process is done. Any example or code would be helpful.

Thanks in advance.