我还是把代码发到这里来吧
核心代码:
'---------------------------------------查看档案----------------------------------------------
function qqinfo(qq)
on error resume next
Set Doc = CreateObject("Microsoft.XMLDOM")
Doc.async = False
Doc.load("
http://users.cnc.qzone.qq.com/fcg-bin/cgi_access_self.fcg?uin=" & qq & chr(38) & "type=3")
Set root = Doc.documentElement
blo=split("A,B,AB,其它",",")
msg= msg & vbcrlf & "QQ : " & root.selectSingleNode("uin").text
msg= msg & vbcrlf & "昵称: " & root.selectSingleNode("nickname").text
msg= msg & vbcrlf & "生日: " & root.selectSingleNode("birthday").text
msg= msg & vbcrlf & "血型: " & blo(root.selectSingleNode("bloodtype").text-1)
msg= msg & vbcrlf & "居住: " & root.selectSingleNode("province").text & root.selectSingleNode("city").text
msg= msg & vbcrlf & "职业: " & root.selectSingleNode("career").text
msg= msg & vbcrlf & "空间: " & root.selectSingleNode("spacename").text
msg= msg & vbcrlf & "爱好: " & root.selectSingleNode("interest").text
uininfo=msg:msg=""
msgbox uininfo,0+48,"用户信息"
end function
'--------------------------------------------------------------------------------------------------