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

    Join Date
    Feb 2001
    Posts
    52
    Rep Power
    14

    Clear VB6 WebBrowser cache


    Hi.

    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
    Posts
    14,439
    Rep Power
    4539
    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
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo