?
Solved

ActiveX Form Auto-download problem

Posted on 2000-03-05
8
Medium Priority
?
202 Views
Last Modified: 2010-04-04
Dear friends:
    I think when the ActiveXForm I've deploy be updated "the version number increas", the client should be noted to downloaded the latest version when they visit the html page.
    But it only be downloaded once and never update.
    I filled the web deploy option dialog carefully and include the version info in my project, I also check the auto-increase version checkbox, and also tried to edti the version numally, but it also does not work.
   What should I do?

   I promiss another 200
0
Comment
Question by:chengjian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2586607
On your local machine you can delete the appropriate file from the "Downloaded Program Files" directory in your windows directory.

The only really reliable way I have seen to force the activeX control to be downloaded again is to change the GUID of the control.

Cheers,

Raymond.
0
 
LVL 17

Expert Comment

by:inthe
ID: 2587356
listening..
0
 
LVL 17

Expert Comment

by:inthe
ID: 2587404
Hi
you should be able to use the versioning to make client load newer one.
do you change the version number in the html page that loads the activex so you have tag like:

in mycontrol.htm :

<OBJECT
  classid="clsid:29D37F03-F02F-11D0-ACB2-0080C7316F20"
       codebase="http://www.xyz.com/MyControl.ocx#version=1,0,1,0"
       width=350
       height=250
       align=center
       hspace=0
       vspace=0
</OBJECT
The #version part of the tag is optional—if missing, it means "any version will do."
On the web server, there will be a file called MyControl.htm (many servers are case sensitive) , which has been stamped with a version tag (presumably 1.0.1.0), and which can create an ActiveX control with the specified ClassID. The first thing Internet Explorer does is to determine if the specified ClassID is already installed on the client machine. If it is, IE will check to see if the installed version matches the requested version. If the local version matches the version requested in the HTML, IE will simply use the local copy to create the control
If the version number requested by the HTML page is newer than the one currently installed, or the ClassID is not yet installed, IE knows it must download and install the codebase before it can create the control.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:chengjian
ID: 2594622
Dear rwilson :
    I really do not want to change the GUID and I know where the ActiveX Control be downloaded located, and I also know I can Right-Click the Control and choose "update" to update it. but it's out of my need. thanx anyway. I'm so sorry to reject your answer.

Dear inthe:
    Have you tried that? I've never notice about the HTML file and I only use delphi's web deploy wizard to generate the sample HTML file, I'll try later, thanx a lot.
0
 
LVL 17

Expert Comment

by:inthe
ID: 2594908
changing the version code in the html is the only way explorer knows it a new version of the control..

check if delphi is writing version info to sample html file then recompile and chck if html version info has changed.

i dont have delphi here at moment but there should be a version option to imcrement the version number when a new compile is done..
0
 
LVL 1

Author Comment

by:chengjian
ID: 2648056
dear inthe:
   I'm so busy so I haven't tried your answer, sorry, I make a socket program to detect and downlaod the ActiveX control from http server.
   feel free to put it as an answer and if you have both time and delphi, please try for me, greatly thanx.
0
 
LVL 17

Accepted Solution

by:
inthe earned 800 total points
ID: 2649240
hi,
it definetly works as i tried it before for another question on e.e so i put as answer.

Regards Barry

0
 
LVL 1

Author Comment

by:chengjian
ID: 2653088
I'm faint 'cause sometimes it works
but sometimes not.
but anyway.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question