I want to download an html page. The data on the page change everytime I hit refresh in my browser. Everything I tried downloaded the page but everytime I tried redownloading it it was the same exact thing even though the data really had changed on the page. I tried with this:
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then DownloadFile = True
also with CreateObject("Microsoft.XM
LHTTP") and also CreateObject ("MSXML2.XMLHTTP.3.0") but it's cached all the time!!!
I'm using VB6 w sp5 on XP Pro sp2.
I just need one way I can download it without it being cached. I have no proxy on my network and have no control over the webpage I download. The webpage is this one btw : http://www.forwardobserver.us/test/aaophp_new.php?IP=188.8.131.52