Results 1 to 2 of 2

Thread: Focusing an effect in a tab

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jan 2015
    Posts
    2

    Focusing an effect in a tab

    So, I've been working in a web-browser, However, There is an issue I am facing, I am using AxWebBrowser (Microsoft Web Browser) however, I wanted to make a history function, It is going well, And I am new to Visual Basic, Or anything related to Coding Languages, But however, I want a button that navigates the browser to one of the sites, As a result, I am using Listbox, To list the history, The history loads well, However, Going back to the site already visited, Isn't going well..

    So, I am using the following code..
    Code:
        Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
            tab.AxWebBrowser1.Navigate(Me.listbox1.SelectedItem)


    When I press the button, It navigates me no where.

    So I tried using
    tab.AxWebBrowser1.Navigate("http://www.facebook.com")

    And for a mysterious reason, It also didn't work, I suspected that this problem because I am in a tabbed browser, And it doesn't know which tab should it navigate in, So, Is there is a way I can focus the effect of the Navigation code on the Current tab?

    Or, If possible, Is there is a solution for the navigation problem if it is not a tab problem?

    Thanks in advance, And I apologize if I posted in the wrong section, I am a complete newbie to coding and such..

  2. #2

    Thread Starter
    Registered User
    Join Date
    Jan 2015
    Posts
    2

    Re: Focusing an effect in a tab

    Another note, I am using TabControl to organize the tabs, Which is working perfectly as planned, But going back to a previous history is the only problem I am facing, So, I will say the question in another way, "How can I make an code effect in the Selected Tab?"

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