Foxtable(狐表)用户栏目专家坐堂 → [求助]获取openQQ登陆者表达问题


  共有2185人关注过本帖平板打印复制链接

主题:[求助]获取openQQ登陆者表达问题

帅哥哟,离线,有人找我吗?
xianzheng
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:小狐 帖子:356 积分:2314 威望:0 精华:0 注册:2014/10/4 9:38:00
[求助]获取openQQ登陆者表达问题  发帖心情 Post By:2015/11/8 21:42:00 [只看该作者]

 [求助]下面代码获取openQQ“登陆者”表达有问题问题,请老师帮修改

Dim re As String = e.Form.Controls("ComboBox1").Value '获得接收用户名

Dim bm As String = e.Form.Controls("ComboBox2").Value '获得接收部门名称

Dim cn As String = e.Form.Controls("TextBox1").Value '获得发送内容

If re = "" OrElse cn = "" Then

    MessageBox.Show("信息不完整,信息无法发送!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)

    Return

End If

If re = QQClient.UserName  Then

    MessageBox.Show("不能给自己发信息!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)

    Return

End If

Dim fsz As String

fsz=bm & "." &  re

QQClient.Send(fsz,cn)

e.Form.Controls("TextBox1").Value = ""

<!--EndFragment-->

 回到顶部
总数 19 1 2 下一页