Solved

ActiveX problem

Posted on 2000-02-15
8
121 Views
Last Modified: 2010-04-04
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.
0
Comment
Question by:apostolost
  • 4
  • 2
  • 2
8 Comments
 
LVL 2

Expert Comment

by:florisb
ID: 2523111
So you did register. Hint: Check BDEINST on Delphi cd if you use a database.

F.
0
 

Author Comment

by:apostolost
ID: 2523153
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

0
 
LVL 2

Expert Comment

by:florisb
ID: 2523264
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=testWebDelpoyProj1.ocx

[testWebDelpoyProj1.ocx]
file=E:/Dev/webdelpoy/deployTo/testWebDelpoyProj1.ocx
clsid={544D9186-D568-11D3-BBCD-00105A2766AC}
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-D568-11D3-BBCD-00105A2766AC"
        codebase="E:/Dev/webdelpoy/deployTo/testWebDelpoyProj1.inf"
        width=241
        height=231
        align=center
        hspace=0
        vspace=0
>
</OBJECT>
</HTML>


Somebody else?

Greetings,
Floris.
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2524689
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.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:apostolost
ID: 2525978
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


 
0
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 100 total points
ID: 2526047
You only need to change the clsid when you change the interface (sorry if I meant every time you update the software).

Cheers,

Raymond.
0
 

Author Comment

by:apostolost
ID: 2526086
I see, Ok I will give it a try and see how it goes.

Thank you very much,

Apostolos.
0
 

Author Comment

by:apostolost
ID: 2527327
Changing the clsid worked fine.

Thanks for the help
Apostolos.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading complex type element repeats first one found several times 3 38
Magic Software info 18 124
Dev Express grid collapse 2 39
creating threads in delphi 1 80
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now