Results 1 to 3 of 3

Thread: Control Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    4

    Control Question

    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

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Add "WB2" object in the tab controllscollection .

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    4
    thanks I could never figure it out but big thanks pirate....it works great now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width