Good evening folks, I'm building a program that is threaded. While I can get the thread to work no problem, I can not seem to add pages to my tabcontrol from the class I'm using. Any idea's on what I'm doing wrong?

frmMain is loaded first. Then the idea is to load the other tabpages using a separate thread as they take awhile.

Code:
 Dim myformCal As New FrmCalender 'Load a new frmCalendar
            myformCal.TopLevel = False 'Make sure form is not top level
            myformCal.Dock = DockStyle.Fill 'Make sure to fit main form
            frmmain.tpCalendar.Controls.Add(myformCal)
            myformCal.Show() 'Show Form
Any help would be appreciated.

Redmo