VB如何添加标签超链接GerMan
1、在Visual Basic 中打开一个标签
2、打开代码窗口,定义声明:
Public sy As String
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
3、双击标签工具,进入代码窗口ShellExecute hWnd, "open", "在这里输入您的链接", vbNullString, vbNullString, conSwNormal
阅读量:111
阅读量:140
阅读量:126
阅读量:72
阅读量:112