Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynaZip and VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00592423
Message ID:
00593333
Views:
30
>By the way, in the line
>
>oDynaZip = CREATEOBJECT("dzactxctrl.dzactxctrl.1")
>

>
>Whats the ".1" for?
>
>Thanks

Kevin,
Usually, ActiveX/COM control developers/vendors have a version dependent and a version independent ProgID. This means you can either create an object using

oWord = createobject('word.application')
   or
oWord = createobject('word.application.9')

DynaZip doesn't appear to do that. If you check under the HKEY_CLASSES_ROOT\CLSID\{0E9D0E41-7AB8-11D1-9400-00A0248F2EF0} entry for DynaZip, you will see the VersionIndependentProgID set to the a value with the version in it. Oh well.

IAC, I had to add it in order to instantiate the COM object. Otherwise, it threw an error saying it couldn't find the class definition.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform