Phoenix22's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
5 (0.01 per day)
Joined:
01-May 12
Profile Views:
154
Last Active:
User is offline May 02 2012 05:12 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   Phoenix22 has not set their status

Posts I've Made

  1. In Topic: Advanced Webbrowser ContextMenu

    Posted 1 May 2012

    Does not work for me. All elemts keep giving the error object refference not set to an instance of an object. I get this error everywhere there is the ele.getattribute code. I think its because of this code:

    CurrentDocument = wbMain.Document
    


    I may have put it in the wrong place because I am uncertain of where it goes. My browser uses tab controls eg.

    CType(Tabcontrol1.SelectedTab.Controls.Item(0), Webbrowser)
    


    to do things like navigate and go back and forward so i cannot find a domcument complete.
  2. In Topic: Open in new tab or get url from hyperlink

    Posted 1 May 2012

    View PostPhoenix22, on 01 May 2012 - 01:13 PM, said:

    he said to add CurrentDocument = wbMain.Document in the navigated event. I have a a tabbed webbrowser similar to the code u have. Do you know where I must paste this?



    Nevermind. I got it
  3. In Topic: Open in new tab or get url from hyperlink

    Posted 1 May 2012

    he said to add CurrentDocument = wbMain.Document in the navigated event. I have a a tabbed webbrowser similar to the code u have. Do you know where I must paste this?

    'Opens a new tab when the browser loads
            Dim Nbrowser As New WebBrowser
            TabControl1.TabPages.Add(Numpages, "Untitled")
            TabControl1.SelectTab(Numpages - 1)
            Nbrowser.Name = "wbbrwsr"
            Nbrowser.Dock = DockStyle.Fill
            TabControl1.SelectedTab.Controls.Add(Nbrowser)
            Numpages = Numpages + 1
            AddHandler Nbrowser.DocumentCompleted, AddressOf Doneloading
            AddHandler Nbrowser.ProgressChanged, AddressOf Loadingstatus
    
            'Navigates to the set homepage 
            CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(My.Settings.Chompage)
    
            'Makes the browser use the customized context menu, converts the url to string
            CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).ContextMenuStrip = Me.ContextMenuStrip1
            CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).IsWebBrowserContextMenuEnabled = False
    
    



    This is the code to open a new tab (or webbrowser when the form is opened)
  4. In Topic: Open in new tab or get url from hyperlink

    Posted 1 May 2012

    View PostDimitriV, on 01 May 2012 - 12:42 PM, said:



    Thanks a million

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Programming Languages:
VB. Net, Qbasic

Contact Information

E-mail:
Click here to e-mail me

Friends

Phoenix22 hasn't added any friends yet.

Comments

Phoenix22 has no profile comments yet. Why not say hello?