uhmm... Wdf webbrowser location?

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

uhmm... Wdf webbrowser location?
  1. Unread #1 - Apr 18, 2007 at 6:11 PM
  2. skate4life
    Referrals:
    0

    skate4life Guest

    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.
     
  3. Unread #2 - Apr 19, 2007 at 12:23 PM
  4. dodge
    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5

    dodge Active Member
    Banned

    uhmm... Wdf webbrowser location?

    the location onject is not a string trying using location.x and location.y
     
  5. Unread #3 - May 3, 2007 at 12:21 PM
  6. Teizhcial
    Referrals:
    0

    Teizhcial Guest

    uhmm... Wdf webbrowser location?

    IDK please try agian later
    Perhaps when you figure it out
     
  7. Unread #4 - May 3, 2007 at 2:52 PM
  8. Deathkillspt
    Referrals:
    0

    Deathkillspt Guest

    uhmm... Wdf webbrowser location?

    I think it would be something like,

    Textbox1.Text = Webbrowser1.Url.ToString()

    Edit: i miss read the post wrong
     
  9. Unread #5 - May 3, 2007 at 3:39 PM
  10. dodge
    Joined:
    Mar 26, 2007
    Posts:
    125
    Referrals:
    1
    Sythe Gold:
    5

    dodge Active Member
    Banned

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site