Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get all properties of the com object
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Get all properties of the com object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01235897
Message ID:
01235897
Vues:
60
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
Répondre
Fil
Voir

Click here to load this message in the networking platform