0
私は次のコードを使用しており、これを使用してDLLを作成しています。初めてsendメソッドがうまく動く。その後、以降そのあなたは常に更新された値を取得するために非常に単純なトリックを行うことができます古い値ではない更新された値MSXML2.xmlHttpのメソッドを2回目送信しない
Dim xmlHttp As MSXML2.xmlHttp
Set xmlHttp = New MSXML2.xmlHttp
Dim response as string
response = xmlHttp.readyState
sUrl = "MyUrl"
xmlHttp.open "GET", sUrl, False
xmlHttp.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
response = xmlHttp.readyState
xmlHttp.send
response = xmlHttp.readyState
response = xmlHttp.responseText
.....
Set xmlHttp = Nothing
おかげ アシャ
おそらくあなたはhttp://stackoverflow.com/questions/5235464/how-to-make-microsoft-xmlhttprequest-honor-cache-control-directiveを読むべきです – Bob77
毎回オブジェクトを実際に作り直していますか? – Deanna