Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distributing an ActiveX control (2)
Message
From
27/01/2000 09:30:31
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00323456
Message ID:
00323518
Views:
17
>>See my reply to Paul - in all probability, the old version of the control does not have the same CLSID as the new version, so they are not programamtically and functionally identical, in the same way that two different versions of ListView or TreeView would be the same.
>
>>If the two versions share a common VersionIndependentProgID, and you instantiated the control programmatically using the VersionIndependentProgID rather than through the Visual form interface, there would be workarounds, but unless the interfaces are indetical, or you do something programmatically to bind the control late through the VersionIndependentProgid, you're stuck either readding it, or writing code to hack the SCX, which is no better, and no help if you've already deployed the SCX compiled into .EXE
>
>This still does not explain why I could recompile the ocx and continue using it in VFP without further ado a few months ago, and now I cannot any more? As far as I recall, it started when someone decided the ocx could have a more meaningful name.He also made some minor changes then.
>

You changed the interface. that's why. Early binding breaks when an interface changes.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform