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

Click here to load this message in the networking platform