Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynaZip as COM Object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00276945
Message ID:
00277093
Vues:
38
>
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform