_hh.GetCode()返回字符串Dim temp As String = _hh.GetCode()如果temp.Contains("验证失败"),就重新执行_hh.GetCode(),这样的过程怎样写?
我用下面的语句,好像不行?Private sub PersonalWar() Dim temp As String = _hh.GetCode()
If temp.Contains("验证失败") = True Then PersonalWar()
Else
msgbox "ok"
End If
End sub
我用下面的语句,好像不行?Private sub PersonalWar() Dim temp As String = _hh.GetCode()
If temp.Contains("验证失败") = True Then PersonalWar()
Else
msgbox "ok"
End If
End sub
Dim temp As String = _hh.GetCode()
while (temp.Contains("验证失败") = Falsh)
{
temp = _hh.GetCode()
}
msgbox "ok"