Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get all properties of the com object
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Get all properties of the com object
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235897
Message ID:
01235897
Views:
62
Hi everybody,

With amembers function I can get all properties and methods into the array for the com object. I want to get value of each property. How can I get only properties from the array?

Here is my current code:
IF m.lnK = 1
   lnProps = AMEMBERS(laProps, 	oAEs.Item(1),  3)
ENDIF
   FOR lnJ = 1 TO ALEN(laProps,1)
   lcStr = lcStr +  TRANSFORM(EVALUATE('oAEs.Item(m.lnK).' + laProps[m.lnJ,1])) + CRLF
   next
Thanks in advance.

--------------------------
Ok, disregard. Looks like I just have to filter based on the second column.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform