Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing cache for subclassed IE
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Clearing cache for subclassed IE
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01225225
Message ID:
01225225
Views:
56
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
Reply
Map
View

Click here to load this message in the networking platform