Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Link URL
Message
 
 
À
11/09/2002 09:56:19
Information générale
Forum:
Visual Basic
Catégorie:
Applications Internet
Divers
Thread ID:
00699308
Message ID:
00699594
Vues:
15
>I have created a Web browser using VB 6.0. I would like to display the URL of a link at the bottom of the browser when the mouse passes over it(As in IE). In reviewing the MSDN Library docs, I didn't find any references as to how to do this. Any help would be appreciated. Thanks.
>
>Stan Symons
Brief answer: Use webcontrol_StatusTextChange(ByVal Text As String) where Text is your info.

Longer Answer:
Add a browser control to a form named WB1
and a command button named CmdGo then add the following code
Option Explicit

Private Sub CmdGo_Click()
    wb1.Navigate "http://www.beasthead.com"
End Sub

Private Sub wb1_StatusTextChange(ByVal Text As String)
    Me.Caption = Text
End Sub
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform