1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Rep Power

    Clear VB6 WebBrowser cache


    Using a WebBrowser object. We use the Navigate method to visit a website.

    The content given back goes to .innerHTML, from what I understand.

    We read that data into a variable and continue from there.

    We are getting bad data at times. It seems like the data spit into our variable is the content from the previous Navigate call.

    I was thinking we should clear the cache before every Navigate and after every time we stuff innerHTML into our variable.

    Does anyone know how to clear the cache in VB6?

    (Google'd for 3 hours today so far, nothing works as of yet.)
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Rep Power
    I'm not aware that the webbrowser control interacts with IE cache at all, but I haven't used that control in maybe 5 years
    Doug G
    I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton

IMN logo majestic logo threadwatch logo seochat tools logo