Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynaZip as COM Object
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00276945
Message ID:
00277093
Views:
37
>
>I just tried to CREATEOBJECT my class based on dzocx32.ocx from the command window. It said something like "OLE Object invalid for this container". You might need to place your zip control on a form. But since the control isn't actually visible, you can ADDOBJECT it to any form that happens to be open when you call it, as long as it's in scope. You might replace your zipping button with a container that has a zipping button and gets dynazip controls ADDOBJECTed to it as needed. That doesn't seem too invasive to me. There's no need to make a new form.

There are no forms in this application. It just does @ Say to the screen. Since it is an automated process, no need for forms or to change the @ SAYs.

You can't do CREATEOBJECT() on an OCX. It must be a COM DLL or COM EXE.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform