clear out downloaded program files

R

Ruskin

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...
 
R

Robert

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top