![]() |
#2
bczgvip2013-04-02 20:41
|
Private Sub Command1_Click()
a = Val(Text1.Text)
b = ""
Do While a <> 0
b = (a Mod 2) & b
a = a \ 2
Loop
Text2.Text = Format(b, "00000000")
End Sub
请问怎么可以输入“192.168.1.1”这样,一起转换成二进制,谢谢高手们。
