Home > Software engineering >  Vb XMLHTTP problems, solutions
Vb XMLHTTP problems, solutions

Time:10-02

The Set XMLObject=CreateObject (" Microsoft. XMLHTTP ")
XMLObject. Open the "post", "http://", False
XMLObject. SetRequestHeader content-type ", "" application/x - WWW - form - urlencoded"
XMLObject. Send SendStr
HTMLStr=StrConv (XMLObject. ResponseBody vbUnicode)

'processing

The Set XMLObject=Nothing


Now I visit a web page, if the first web page content is 1, returns 1, if the web page content into 2, I didn't close the software call again this process, the content of the return or 1, excuse me why ah, how should I do ability to let every visit is the latest web content???????

CodePudding user response:

The requested url behind add a random number

CodePudding user response:

Haven't seen, how the whole speculation: catch the web may be affected by the cookie...

CodePudding user response:

Is to get you through the browser's content, and your program with the website of the post request,

Both not matter at all,

CodePudding user response:

Like # 2, can be like this:
http://bbs.csdn.net/topics/390950756? Time=3243249983
Time=behind the Numbers, of course, is changing,
# 3 said also to consider the best,
  • Related