Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a URL link
Message
From
27/11/2006 15:01:33
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01172328
Message ID:
01172756
Views:
17
Thanks much Ali.



>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform