|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
March 28th, 2005, 05:32 PM
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
how to update active X component in ASP
Hi, all,
I create a ActiveX Dll using VB, then call the DLL methods from ASP by using <OBJCET> to generate an object of the DLL. My problem is that everytime I update the DLL, I have to remove the old dll, is there any way that the dll will be updated automatically? I didn't change the version number of the dll when I compile it, is that the reason? if I change the version number and at the same time change the version number in the <OBJECT> tag, does the client machine will update the dll automatically?
Andraw
|
March 29th, 2005, 02:29 AM
|
Friend of Wrox
|
|
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No it wont update automatically..
|
March 29th, 2005, 10:13 AM
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi, Santhi,
Thanks for your reply. The DLL is created in the server side, when client run the program, the DLL will be installed in the client machine, so if the DLL cann't be updated automatically, how the client can get the latest version?
Andraw
|
March 29th, 2005, 11:42 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Quote:
quote:Originally posted by Andraw
Hi, all,
I create a ActiveX Dll using VB, then call the DLL methods from ASP by using <OBJCET> to generate an object of the DLL. My problem is that everytime I update the DLL, I have to remove the old dll, is there any way that the dll will be updated automatically? I didn't change the version number of the dll when I compile it, is that the reason? if I change the version number and at the same time change the version number in the <OBJECT> tag, does the client machine will update the dll automatically?
Andraw
|
If you are using a dll on the server then you don't need to do anything special. Once the old dll is uninstalled and the new dll is installed and registered, provided it has the same prog id, then you will use it. In older versions of IIS you need to stop and start the web service though. If you are creating an object on the client then see this page regarding how to set the codebase attribute:
http://msdn.microsoft.com/library/de...s/codebase.asp
--
Joe ( Microsoft MVP - XML)
|
March 29th, 2005, 01:57 PM
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks, Joe,
Your information is very useful. The component I created will be installed in the client's computer. So whenever I modify the DLL, I should change its version number, at the same time change the #version in the CODEBASE property in <OBJECT> to match it, if the version number is higher than the installed one in the client's computer, the internet explorer will download the latest version to the client's computer.
Thanks for your help!!
Andraw
|
April 26th, 2006, 03:51 AM
|
Registered User
|
|
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi
I registered the new Activex.Also I changed the version number in codebase in <object> tag.And i updated this new version dll to server.
but my problem is ,
Eventhough the Internet explorer is showing the dialog box to install new version,the new version is not installed and the player is using the older version.
Please help me ..
Thanks in advance
cheers
ramya
|
|
|