网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

VB如何添加标签超链接GerMan

时间:2024-10-12 15:25:10

1、在Visual Basic 中打开一个标签

2、打开代码窗口,定义声明:Public s鲻戟缒男y As StringPrivate Declare Function ShellExecute Lib &鳎溻趄酃quot;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

© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com