By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,684 Members | 1,824 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,684 IT Pros & Developers. It's quick & easy.

clear out downloaded program files

P: n/a
I have a wee issue, where I have two different web sites;
http://dev/home.htm
http://live/home.htm

On both sites, there is a custom OCX file being used. However, it may be a
different version on the dev versus the live sites, because I am working on
it... This is fine, as I have a routine that downloads the OCX file, but MS
standard only downloads a later version. Hence, if I work in the dev site,
then switch to live, it still uses the version from the dev site, as that
has already been dowloaded.

I did some testing and found, that if I opened 'tools, internet settings,
settings, view objects' and deleted the file from here, when I went to the
live site, it downloaded it's OCX file and the version was correct. Problem,
is that I have to do this every time I go from the dev to the live. Also,
some operators are using dev for testing then going to live, only to have
the wrong version of the OCX file.

Solution; when opening the live site, I clear out the object from the
downloaded program files... How do I do this programatically? Is there a
simple call I can use to purge a specific file from the downloaded program
files?

NOTE: I am only allowing IE 5.5 and above to use this webpage, so if the
solution is IE specific, that's fine...

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> Solution; when opening the live site, I clear out the object from the
downloaded program files... How do I do this programatically? Is there a
simple call I can use to purge a specific file from the downloaded program
files?

NOTE: I am only allowing IE 5.5 and above to use this webpage, so if the
solution is IE specific, that's fine...


Perhaps you could set the test file to always reload. You could turn
off caching on your machine. This isn't quite what you are after, but
perhaps on of the links on this page on caching will provide a clue:

http://www.mnot.net/cache_docs/

Robert
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.