how many threads can a vb app have max?

need resources on how to best set up threads with vb.net