Go Back   Forums @ The Digital Fix > Gadgets and Gizmos > Computing Forum

Notices

Reply
 
Thread Tools Display Modes
Old 20-03-2006, 10:39   #1
Guest 21014
Trusted User
 
Join Date: Aug 2002
Location: In a Tree in Louisiana
Posts: 1,438
Thanks: 1
Thanked 0 Times in 0 Posts
VB6 IE Control Navigate Cache Issue

I've got a VB6 app with a web browser control in it. When my app loads it loads up a url in the browser, this is a fresh up to date copy.
If I then navigate to another page in code, and back to the original page it uses a copy from the cache. If I open up a normal IE6 broswer and point at the page the up to date page is retrieved and the cache updated. Next time the browser in my app is navigated it picks up this new cache copy.

I've tried doing navigate and navigate2, and put a flag of &H4 and a flag of &H8 - one of which is supposed to stop caching, but neither work. The beforenavigate2 event always reports flags as zero.

As a work around i've put in a extra parameter into the url to make it so all navigations within a single day are unique ("&rand=" & timer). But it's not really what I wanted to have to do.
Guest 21014 is offline   Reply With Quote
Old 19-04-2006, 08:36   #2
Guest 21014
Trusted User
 
Join Date: Aug 2002
Location: In a Tree in Louisiana
Posts: 1,438
Thanks: 1
Thanked 0 Times in 0 Posts
Bump.
Now I'm finding that I also need to disable the history as I don't really want my app's internal pages being as visible as they are in IE's history list.

This page:
http://msdn.microsoft.com/library/de...s/navigate.asp

Says I should put ",14" at the end of all my navigate lines, after the URL. However it doesn't work. Even if I just put 2 there it doesn't work. Even though it says IE4 or higher. Can someone tell me if there is a way to do it or if compatibility was broken or something?
Guest 21014 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 07:56.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright ©2000 - 2018 Poisonous Monkey Ltd. Part of The Digital Fix Network