Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a URL link
Message
De
27/11/2006 15:10:50
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01172328
Message ID:
01172757
Vues:
15
Ali - how do I make the links underlined as in the way your mailto example is displayed. Thanks.





>>Hi all:
>>
>>How do I make something (e.g. www.something.com) display on the screen as a URL (underlined), which when clicked would take me to the referenced web site? Thanks in advance.
>
>
>The simplest way doing this, putting following code part into a label (or text box) click method
>
>
>cWebAdres = "www.something.com"
>oObject = CreateObject("Shell.Application")
>oObject.Open(cWebAdres)
>
>
>alternative method
>
>
>cWebAdres = "www.something.com"
>run /n3 rundll32 url.dll, FileProtocolHandler &cWebAdres
>
>
>
>For sending mail, use this syntax "mailto:altunali@hotmail.com" instead of webadres
>
>
>cWebAdres = "mailto:altunali@hotmail.com"
>run /n3 rundll32 url.dll, FileProtocolHandler &cWebAdres
>
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform