Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instance of an OCX...
Message
 
 
À
22/01/2003 12:47:41
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:
00744344
Message ID:
00744384
Vues:
34
With some controls, you would have a problem under runtime just instanciating the control. So you are probably better off, dropping the control on a form. You can then save that form as a class and instanciate that class instead. Otherwise, you may have better luck using MyObject.Object.Name, for example, intead.

>Hi!
>
>I'm try create a instance of the OCX "XCDZIP35.OCX" and the object not show properties through Debbug and I don´t can set or see 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, but I would like of to work with the instance.
>Any idea?
>
>Thanks in advance!
>Bye!
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform