Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instance of an OCX...
Message
 
 
À
22/01/2003 10:57:06
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00744264
Message ID:
00745487
Vues:
74
Erick,

COM objects will not expose their values in the VFP debugger until after you access them. VFP7's intellisense will allow you to more easily explore a COM object.

I don't have that OCX so I'm not sure what you need to do to get it to work.

>I'm try create a intance of the OCX "XCDZIP35.OCX" (I see the thread #721128 message #721410) and the object not show properties through Debbug and I don´t can set the properties values, occur errors.
>I'm creating the instance so:
>
>* Create instance
>MyObject = CreateObject("XCEEDZIP.XceedZipCtrl.1")
>
>* Name property
>? MyObject.Name   && Occur error "OLE error code 0x80020006: Unknown Name
>
>* IncludeHiddenFiles property
>MyObject.IncludeHiddenFiles = .T.   && Occur error "OLE error code
>                                    && 0x8000FFFF: Catastrophic faul
>
>
>If I put the OCX in the form, it works well.
>Any idea?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform