| Mirage Source http://www.miragesource.net/forums/ |
|
| Creating Hyperlinks http://www.miragesource.net/forums/viewtopic.php?f=210&t=39 |
Page 1 of 1 |
| Author: | Tutorial Bot [ Thu Jun 01, 2006 9:01 pm ] |
| Post subject: | Creating Hyperlinks |
Author: ? (unknown) Difficulty: 1/5 In modDeclares add: Code: Private 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 Private Const SW_SHOWNORMAL As Long = 1 Now create a command button, label, or whatever you want the link to be. Wherever you put the command button (or whatever you chose) add this code to its click event: Code: Call ShellExecute(0&, vbNullString, "your website", vbNullString, vbNullString, SW_SHOWNORMAL)
|
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|