Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding an Hyperlink
Message
 
To
22/07/2003 13:36:40
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00812444
Message ID:
00812608
Views:
11
This message has been marked as the solution to the initial question of the thread.
You can use ShellExecute:
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Dim Retval

    Retval = ShellExecute(Me.hwnd, "Open", "YOUR_URL_GOES_HERE", "", App.Path, 1)
>Suppose I have a picture box with the onclick event code so that it open a browser and go to a specific URL... how can we do that?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform