#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
    Stumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,409
    Rep Power
    4538
    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
    ======
    It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

IMN logo majestic logo threadwatch logo seochat tools logo