- 版主
- 211464
- 21164
- 13
- 258 朵
- 47817 个
- 60 个
- 263800
- 2008-12-23
|
1#
t
T
发表于 2010-06-02 10:32
|
|只看楼主
问:怎么在自定义界面里加上超链接? 答:VB源码例子 - Option Explicit
- 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 Sub Command1_Click()
- Dim MyUrl As String
- MyUrl = "http://www.ajjl.cn"
- Call ShellExecute(0&, vbNullString, MyUrl, vbNullString, vbNullString, vbNormalFocus)
- End Sub
复制代码
|