webbrowser with tabcontrol.....

  • Thread starter Thread starter Supra
  • Start date Start date
S

Supra

How do i added new webbrowser in tabcontrol in each tabpages?

Private Sub TabPage2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TabPage2.Click
Dim wb As New AxSHDocVw.AxWebBrowser
wb.Parent = Me
Dim Xsz, Ysz As Integer
Xsz = 10
Ysz = 10
wb.Dock = Windows.Forms.DockStyle.Fill
wb.Location = New Point(Xsz, Ysz)
Me.Controls.Add(wb)
wb.Show()
End Sub

regards,
supra
 
Instead of adding it to "Me.Controls" which is the forms items, add it to the
tabpages controls with me.Tabpage2.controls.add(wb)
 
how do used with combobox__SelectedIndexChanged with tabcontrol along
with webbrowser?
i can't get webbrowser working.........it is not showing
regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top