apostolost
asked on
ActiveX problem
Hi,
I have created an active form and despite the fact that I check the fileversion in web deployment options, IE refuses to automaticaly download it except for the first time.
I have created an active form and despite the fact that I check the fileversion in web deployment options, IE refuses to automaticaly download it except for the first time.
ASKER
I don't use a database at least directly, I use a DataServer and connect through IIS. I Don't think it is a missing dll or something since once the ActiveX is registered for the first time, it works perfectly. IE just ignores my versioning. Is there a way that I can force the download.
Thanks
Thanks
I don't know an answer....
Did you try it without the versioning?
Did you set the security settings of your browser low?
hmmm, is there an .inf file in the dir you deploy to? Does it look like:
;Delphi-generated INF file for testWebDelpoyProj1.ocx
[Add.Code]
testWebDelpoyProj1.ocx=tes tWebDelpoy Proj1.ocx
[testWebDelpoyProj1.ocx]
file=E:/Dev/webdelpoy/depl oyTo/testW ebDelpoyPr oj1.ocx
clsid={544D9186-D568-11D3- BBCD-00105 A2766AC}
RegisterServer=yes
FileVersion=1,0,0,0
html:
<HTML>
<H1> Delphi 5 ActiveX Test Page </H1><p>
You should see your Delphi 5 forms or controls embedded in the form below.
<HR><center><P>
<OBJECT
classid="clsid:544D9186-D5 68-11D3-BB CD-00105A2 766AC"
codebase="E:/Dev/webdelpoy /deployTo/ testWebDel poyProj1.i nf"
width=241
height=231
align=center
hspace=0
vspace=0
>
</OBJECT>
</HTML>
Somebody else?
Greetings,
Floris.
Did you try it without the versioning?
Did you set the security settings of your browser low?
hmmm, is there an .inf file in the dir you deploy to? Does it look like:
;Delphi-generated INF file for testWebDelpoyProj1.ocx
[Add.Code]
testWebDelpoyProj1.ocx=tes
[testWebDelpoyProj1.ocx]
file=E:/Dev/webdelpoy/depl
clsid={544D9186-D568-11D3-
RegisterServer=yes
FileVersion=1,0,0,0
html:
<HTML>
<H1> Delphi 5 ActiveX Test Page </H1><p>
You should see your Delphi 5 forms or controls embedded in the form below.
<HR><center><P>
<OBJECT
classid="clsid:544D9186-D5
codebase="E:/Dev/webdelpoy
width=241
height=231
align=center
hspace=0
vspace=0
>
</OBJECT>
</HTML>
Somebody else?
Greetings,
Floris.
You can force the download by deleting the file from "Downloaded Program Files" in your windows directory...
You can also do this by changing the clsid (which is what you should do anyway if you are changing the version (=interface) of the ActiveX)
Cheers,
Raymond.
You can also do this by changing the clsid (which is what you should do anyway if you are changing the version (=interface) of the ActiveX)
Cheers,
Raymond.
ASKER
Yes the security settings are set to low and the .inf file looks exactly as floris pointed out. No success however.
Raymond, if I change the clsid every time I release a new version doesn't that mean that after a while the user will end up with a bunch of useless registry keys ?
Cheers,
Apostolos
Raymond, if I change the clsid every time I release a new version doesn't that mean that after a while the user will end up with a bunch of useless registry keys ?
Cheers,
Apostolos
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I see, Ok I will give it a try and see how it goes.
Thank you very much,
Apostolos.
Thank you very much,
Apostolos.
ASKER
Changing the clsid worked fine.
Thanks for the help
Apostolos.
Thanks for the help
Apostolos.
F.