2,462
社区成员
发帖
与我相关
我的任务
分享
Public Function HttpProcess() As Boolean
On Error GoTo errhandle
.……
hInternetSession = InternetOpen(LoadResString(100), INTERNET_OPEN_TYPE_PRECONFIG,
vbNullString, vbNullString, 0)
MsgBox "111"
hInternetConnect = InternetConnect(hInternetSession, oUrl.Host, oUrl.Port, "", "",
INTERNET_SERVICE_HTTP, 0, 0)
MsgBox "222"
……
errhandle:
MsgBox "出错了……" & Err.LastDllError & ",number = " & Err.Number & ",source = " &
Err.Source & ",Description=" & Err.Description