Access开发培训
网站公告
·Access专家课堂QQ群号:151711184    ·Access快速开发平台下载地址及教程    ·欢迎加入Access专家课堂微信群!    ·如何快速搜索本站文章|示例|资料    
您的位置: 首页 > 技术文章 > Access数据库-模块/函数/VBA

强制打开QQ对话框不弹出IE的方法

时 间:2009-07-21 08:50:25
作 者:cuxun   ID:274  城市:肇庆
摘 要:强制打开QQ对话框
正 文:

''放在模块顶部.

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 = 1

''调用

        Dim Result
        Result = ShellExecute(0, vbNullString, "tencent://Message/?websiteName=qzone.qq.com&Menu=yes&Uin=" & Me.QQ, vbNullString, vbNullString, SW_SHOWNORMAL)
        If Result <= 32 Then Waiting "调用浏览器错误!"

 



Access软件网QQ交流群 (群号:54525238)       Access源码网店

常见问答:

技术分类:

相关资源:

专栏作家

关于我们 | 服务条款 | 在线投稿 | 友情链接 | 网站统计 | 网站帮助