Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More Activex Questions
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00087242
Message ID:
00087271
Views:
34
>If I run setup wizard with an OCX in the app directory, it gets installed and/or registered when doing an install on user machine. Also, when I run regsvr32.exe it registers an ocx already on a user machine. But I've noticed that there are various dates on the OCXs on different machines, some fairly old.
>
>1) Are there different versions of OCXs, and do I need to be concerned about it?
>
>2) If (1) is true, does the vfp setup just register, or does it overwrite the old OCX if one currently exists?

Just one more note on this. From what I can tell, if the file already exists if the version date is equal to or less than the version date of the new control, the extension is changed (to *.oc$) and the new file replaces it. Note, that it's the internal version date of the file, and not the time stamp. Even if the time stamp is later, it gets overwritten. I've seen the behavior first hand.

As a side note, if you want to find out what the version date of a control is, you can use the GetFileVersion() function in foxtools.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform