httpReq.AllowAutoRedirect = False
httpReq.Timeout = 3000
'如果timeout 時....成個exe 出error...之後個vb 會highlight 左下面呢句野
Dim httpRes As System.Net.HttpWebResponse = CType(httpReq.GetResponse(), System.Net.HttpWebResponse)
'Highlight end here- -"
If httpRes.StatusCode = System.Net.HttpStatusCode.OK Then
....
..
.
我想問一下~我點可以設定佢timeout 果時會做D 咩?
更新1:
' highlight here 放high 左果句係果個位? 不過咁httpReq 會出未宣告~ 哈哈~小弟係自學中的新手...希望唔好見怪