Okay, I am having a problem with my program that i am making it is a Web browser that uses the AxWebBrowser control and I have it where I can add a tab to the tab control but, when i try to make a new AxWebBrowser it doesn't show up in the new tab.

here is my code i am using..
VB Code:
  1. Dim A As New TabPage
  2.                 Dim WB2 As New AxSHDocVw.AxWebBrowser
  3.                 Me.Controls.Add(WB2)
  4.                 Tabs.TabPages.Add(A)
  5.                 Tabs.TabStop = True

I have not figured out how to set the WB2 to the Second Tab page.

Please help.

drgnstrmace