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