Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instance of an OCX...
Message
 
 
To
22/01/2003 12:47:41
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00744344
Message ID:
00744384
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform