这是个文字的超连结 给你参考一下,图片作法相同
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 LblLink_Click()
ShellExecute hWnd, "open", "
http://bbs.mychat.to/index.php", vbNullString, vbNullString, conSwNormal
End Sub
Private Sub LblLink_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
LblLink.FontBold = True
LblLink.FontUnderline = True
LblLink.ForeColor = vbBlue
Me.MousePointer = 99
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
LblLink.FontBold = False
LblLink.FontUnderline = False
LblLink.ForeColor = vbBlack
Me.MousePointer = 0
End Sub