473,804 Members | 3,941 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1529
> 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
105845
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: System.out.print((char)27 + "[2J");
0
1803
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 CLASSID="CLSID:D3BEF9B9-F7B5-4C24-B247-32257F37FDB6" CODEBASE="COM.CAB#version=1,0,0,1"></OBJECT></HTML> As per my understanding if client access this page for the first time the cab file will be downloaded, unzipped and the COM component should be registered on the...
0
344
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 CLASSID="CLSID:D3BEF9B9-F7B5-4C24-B247-32257F37FDB6" CODEBASE="COM.CAB#version=1,0,0,1"></OBJECT></HTML> As per my understanding if client access this page for the first time the cab file will be downloaded, unzipped and the COM component should be registered on the...
1
2085
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 options, browsing history, settings, view objects, place....(i have IE7, so to get to them is a little different than IE6, etc.). Anyway, I took his "wise and sage" advice and deleted all of my DOWNLOADED PROGRAM FILES, while I was doing my other...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.