Adblock breaks this site

uhmm... Wdf webbrowser location?

Discussion in 'Programming General' started by skate4life, Apr 18, 2007.

  1. skate4life

    skate4life Guest

    Referrals:
    0
    uhmm... Wdf webbrowser location?

    I want the webbrowser location to appear in a textbox but guese what, its not working.

    Ive tried this already:

    textbox3.text = webbrowser1.location

    That doesnt work, VB6 commands do not work in VB 2005 either.

    Grrrrrr is there any way to do this in vb5?

    Help me plz.
     
  2. dodge

    dodge Active Member
    Banned

    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5
    uhmm... Wdf webbrowser location?

    the location onject is not a string trying using location.x and location.y
     
  3. Teizhcial

    Teizhcial Guest

    Referrals:
    0
    uhmm... Wdf webbrowser location?

    IDK please try agian later
    Perhaps when you figure it out
     
  4. Deathkillspt

    Deathkillspt Guest

    Referrals:
    0
    uhmm... Wdf webbrowser location?

    I think it would be something like,

    Textbox1.Text = Webbrowser1.Url.ToString()

    Edit: i miss read the post wrong
     
  5. dodge

    dodge Active Member
    Banned

    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5
    uhmm... Wdf webbrowser location?

    if you are refering to the url to wher you just navegated will be like:

    textbox1.text = Webbrowser1.LocationUrl.ToString()

    will be better to do this at the NavigateComplete or DocumentComplete events

    the Webbrowser1.Location will just give you the position of the control within the parent object
     
< C++ Introduction | High Scores Look-up >


 
 
Adblock breaks this site