Board logo

标题: [VB] 中文如何成转换16进制 [打印本页]

作者: 398829134    时间: 2007-12-1 15:57     标题: 中文如何成转换16进制

private sub form_load()
    dim b() as byte, i as long, s as string
    me.autoredraw = true
    s = "我爱vb"
    b = strconv(s, vbfromunicode)
    for i = 0 to ubound(b)
        print hex(b(i)); " ";
    next
end sub




欢迎光临 逐梦论坛 (http://temp2023.zhumeng.org/) Powered by Discuz! 7.2