Jump to content

[Ajuda] Visual Basic Browser


Recommended Posts

Boa tarde . Estou a fazer um browser para um projecto da escola mas não estou a conseguir adicionar o nome do favorito ao menustriptool alguém pode dar uma olhadela no código. Ele adiciona tudo e faz a hiperligação, mas fica sem o nome.

Dim marcador As New ToolStripMenuItem
        marcador.Tag = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle
        marcador.Tag = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Url.Host
        TextBox1.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Url.ToString

        AddHandler marcador.Click, AddressOf marcador_click
        FavoritosToolStripMenuItem.DropDownItems.Add(marcador) 

Cumprimentos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.