Click to See Complete Forum and Search --> : ActiveX automatic update
aganet
July 19th, 2007, 07:26 AM
Hello!
I append #version to codebase attribute in object tag to control version of my activex control. However it DOES NOT make browser to update activex. Browse does not download new actvex version! I tried to use both cab and not cab variants. Here is code I use:
<OBJECT
style='width:100%;height:100%'
ID='video_image'
CODEBASE='cab/activex.CAB#Version=4,2,2,153'
CLASSID='CLSID:C4DBCA9D-B786-44F0-848B-E1E036CCFAC1'
VIEWASTEXT>
<PARAM name='URL' value='''/>
some_text
</OBJECT>
I would appreciate your help. Thanks in advance.
PeejAvery
July 19th, 2007, 08:45 AM
Well, to start off...the attribute is clsid not classid. Also, you need to make sure that the version number is correct, and the path to the cab is correct. Try just the following changing the codebase attribute to what you need. Also, you are using just IE right? ActiveX only runs in IE, not in Firefox, nor Safari.
<object id="MyActiveXCab"
clsid="CLSID:CB6994D4-2DCA-11D1-A9CB-00AA00B7B36F"
codebase="ActiveX.CAB#version=1,0,0,0">
</object>
aganet
July 20th, 2007, 02:46 AM
Well, to start off...the attribute is clsid not classid. Also, you need to make sure that the version number is correct, and the path to the cab is correct. Try just the following changing the codebase attribute to what you need. Also, you are using just IE right? ActiveX only runs in IE, not in Firefox, nor Safari.
<object id="MyActiveXCab"
clsid="CLSID:CB6994D4-2DCA-11D1-A9CB-00AA00B7B36F"
codebase="ActiveX.CAB#version=1,0,0,0">
</object>
You're wrong about classid. See that: http://msdn2.microsoft.com/en-us/library/ms533559.aspx
PeejAvery
July 20th, 2007, 05:15 AM
I stand corrected. A site I was working with for automatic updating of the ActiveX used classid instead. I'm heading on vacation but will have to look back up that site for your later. Since I am a Mac user, I have only accessed the classid a few times in the past.
aganet
July 20th, 2007, 08:12 AM
I stand corrected. A site I was working with for automatic updating of the ActiveX used classid instead. I'm heading on vacation but will have to look back up that site for your later. Since I am a Mac user, I have only accessed the classid a few times in the past.
Your code is WRONG. There is no such attribute "clsid" for OBJECT tag. I'm talking about OBJECT for microsoft IE at least.
Correct one is "classid". See MSDN.
By the way. Why are you writting your posts all in one line?
Have a nice day.
PeejAvery
July 21st, 2007, 02:14 PM
Other than classid being changed to clsid the code is completely correct. And I already mentioned that.
I only wrote my post all on one line because it was a proper English paragraph.
aganet
July 23rd, 2007, 07:11 AM
Other than classid being changed to clsid the code is completely correct. And I already mentioned that.
I only wrote my post all on one line because it was a proper English paragraph.
OK. This is not a problem. Do you have any ideas how to make activex auto update to work?
PeejAvery
July 23rd, 2007, 07:35 AM
Well, seeing that it is a security risk to just automatically update things, and seeing that IE7 worked out some (not all) of those security differences, you might try changing those settings.
aganet
July 23rd, 2007, 07:45 AM
Well, seeing that it is a security risk to just automatically update things, and seeing that IE7 worked out some (not all) of those security differences, you might try changing those settings.
This is why I do love Microsoft!
PeejAvery
July 23rd, 2007, 06:35 PM
Yeah, me too *choke* ! So is this solved or no?
aganet
July 24th, 2007, 02:36 AM
Yeah, me too *choke* ! So is this solved or no?
No :(.
PeejAvery
July 24th, 2007, 02:21 PM
Is there anything coming up in the script debugger in IE?
aganet
July 25th, 2007, 02:57 AM
Is there anything coming up in the script debugger in IE?
Nothing. No errors no warnings.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.