vb6怎么读取txtbox中的部分内容
答案:1 悬赏:0 手机版
解决时间 2021-03-25 14:27
- 提问者网友:人傍凄凉立暮秋
- 2021-03-25 07:59
vb6怎么读取txtbox中的部分内容
最佳答案
- 五星知识达人网友:渡鹤影
- 2021-03-25 09:02
dim a as string,b as string ,c as string
a = txtbox
For i = 1 To Len(a)
b = Mid(a, i, 1)
If b = "," Then
Print "十六进制:"&c, "十进制:"&Val(c)
c = ""
Else
c = c + b
End If
Next
Print "十六进制:"&c, "十进制:"&Val(c)
a = txtbox
For i = 1 To Len(a)
b = Mid(a, i, 1)
If b = "," Then
Print "十六进制:"&c, "十进制:"&Val(c)
c = ""
Else
c = c + b
End If
Next
Print "十六进制:"&c, "十进制:"&Val(c)
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯