Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing states of objects
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00562427
Message ID:
00562576
Views:
14
>>Where did you read that? Because through my testing (using Excel and ADSI), it doesn't.
>
>http://msdn.microsoft.com/msdnmag/issues/01/10/VFP7/VFP7.asp
>"Visual FoxPro 7.0: Program Your Data with Powerful New COM, XML, and Web Services Support"
> Erik Moore
>
>AMEMBERS and COM Objects
>The AMEMBERS function is a good way to explore an object's properties and methods in code. It's invaluable for tools like object browsers or automatic documentation tools that need to get a list of an object's members. The AMEMBERS function creates an array that contains information about that object's methods and properties. Previously, AMEMBERS worked only with native Visual FoxPro objects, and offered no help with COM servers. Visual FoxPro 7.0 now has support for COM objects to AMEMBERS with the addition of a couple of new parameters. Besides simply listing names of parameters, AMEMBERS now optionally creates an array that holds the property type, the function signature, and the Help String for the item.
>


Thanks for the clarification. I hadn't looked at the enhancements to AMEMBERS().

However, this doesn't work for all COM objects. For most, if the object is creatable via CreateObject or if you have the type library loaded in the Intellisense Manager (Types - Type Libraries), it will display properly. However, for some (like ADSI objects), it doesn't appear to work.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform