public function ascg(smsg as string) as string
dim si, sb as integer
dim stmp as integer
dim stemp as string
sb = len(smsg)
ascg = ""
for si = 1 to sb
stmp = ascw(mid(smsg, si, 1))
if abs(stmp) < 127 then
stemp = "00" & hex(stmp)
else
stemp = hex(stmp)
end if
ascg = ascg & stemp
next si
ascg = trim(ascg)
end function
VB PDU US2 编码-.NET教程,VB.Net语言
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » VB PDU US2 编码-.NET教程,VB.Net语言
相关推荐
- 暂无文章
