Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capturing URL's in VFP 6
Message
De
26/02/2001 21:52:53
 
 
À
26/02/2001 20:42:36
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00478853
Message ID:
00479865
Vues:
23
Raymond,

>I've got to share this from Rick Strahl:
>
> o=CREATEOBJECT("internetexplorer.application")
> o.Visible = .t.
> o.Navigate("http://www.west-wind.com/")
> ? o.LocationUrl
> ? o.LocationName

Note that if you want to do this to track the URL's that your users are navigating to, you'll need to bind to the events in IE so your code to store the LocationUrl can run whenever they click another link or type in a URL in the browser. (Run the above code and note that you can use the browser instance to go anywhere without your program knowing that you changed URL's.)

You can also embed the Web Browser control into a VFP form, as mentioned before, and control all of the navigation from your form.

>Where does this guy find this stuff?

Well, aside from the fact that he eats, sleeps and breathes Internet, it's all in the MSDN Library for anyone to find.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform