Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amembers() problem
Message
From
12/02/2019 13:06:30
 
 
To
12/02/2019 13:03:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01666312
Message ID:
01666336
Views:
43
>>
>>nPEMCount = AMEMBERS(aHoldPEMS, oCOMObject, 3)
>>
>>
>>Just tried that with a Word.Application object and it works as expected.
>
>...of a registered COM object with published interface. Not sure a COM object from a VFP collection would have that.

Right. In fact, I have a demo from my 2010 session on collections that shows that the behavior Michele is seeing is exactly what you get from creating a COM object from a VFP object by using FOR EACH without FOXOBJECT. So maybe my first stab was correct.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform