473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

clear out downloaded program files

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
1 1499
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Dave | last post by:
Hi, I have done some research, trying to Clear The Screen in java code. The first option was the obv: system.out.print("\n\n\n\n\n\n\n\n\n\n\n\n"); then i heard about this method:...
0
by: Chad | last post by:
I have COM component embedded on html page. It has version 1.0.0.1 (by default). I have converted it in cab file. Code of html is something like: <HTML><HEAD></HEAD><BODY><OBJECT...
0
by: Chad | last post by:
I have COM component embedded on html page. It has version 1.0.0.1 (by default). I have converted it in cab file. Code of html is something like: <HTML><HEAD></HEAD><BODY><OBJECT...
1
by: =?Utf-8?B?UnVzc2VsbA==?= | last post by:
Some sage tech told me, in an online discussion on how to keep my computer clean and working smoothly, that it was ok to delete all of the "downloaded program files" that reside in that internet...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.