I've got a program that subclasses IE, then navigates to a google webpage with an address for geocoding. I've noticed IE grabs more memory every time it hits a new page. Is there some way to clear the cache or otherwise reduce the memory footprint of IE after each hit?
Here's some sample code:
I'm passing an address into this function like '201 Poplar Ave'
LC1=[http://maps.google.com/maps/geo?q=]
lcadd='201 Poplar Ave'
LCEND=[,+]+MCITY+[,+TN&output=xml&key=ABQIAAAAkgy8Ufju8MmwuwcRfunFIhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRnyPG_J_uKz17aLU3J3uT7DtYSvg]
LCURL=LC1+LCADD+LCEND
OIE.NAVIGATE(LCURL)
OIE.VISIBLE=.T.
DO WHILE oie.readystate<>4
enddo
DO WHILE oie.document.readystate<>'complete'
enddo
DO WHILE oie.busy
enddo
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright