vb6 分别获取IP第三段
1个回答
展开全部
Private Sub Command1_Click()
Dim a As String, tmpStr As String, i As Long
a = "192.168.123.78"
For i = 0 To 2
tmpStr = tmpStr & Split(a, ".")(i) & ","
Next i
MsgBox tmpStr
End Sub
追问
搞定
追答
'关注我们的网站 http://www.mirll.com
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询