Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISSUE: AMEMBERS return no properties
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01026773
Message ID:
01026792
Views:
15
Sergey,

Thanks.
Still "MAPI.Session" returns methods only.

>That's correct result because each RW property is represented by PropertyGet/PropertyPut pair.
>BTW, you can use my Array Browser File #9948 to see what's in an array w/o extra coding.
>
>>Just to add to the puzzle. "MSMAPI.MapiSession" does not work for me propely:
>>
>>X=CREATEOBJECT("MSMAPI.MapiSession")
>>?AMEMBERS(aa,m.X,3)  && returns 16 ?!
>>FOR ia=1 TO ALEN(aa,1)
>>	=STRTOFILE(aa[ia,1]+CHR(13)+CHR(10),"c:\txt.log",.t.)
>>endfor
>>x=null
>>
>>
>>And this is what in the log file:
>>
>>Action
>>Action
>>DownLoadMail
>>DownLoadMail
>>LogonUI
>>LogonUI
>>NewSession
>>NewSession
>>Password
>>Password
>>SessionID
>>SessionID
>>SignOff
>>SignOn
>>UserName
>>UserName
>>
>>
>>>>
>>>>CLEAR
>>>>X=CREATEOBJECT("MAPI.Session")
>>>>? AMEMBERS(ax,m.x,3) && 16 Methods, none Properties
>>>>
>>>
>>>I don't have MAPI.Session on my PC but following code correctly returns 2 Methods and 7 pairs of PropertyGet/PropertyPut.
X=CREATEOBJECT("MSMAPI.MapiSession")
>>>? AMEMBERS(ax,m.x,3)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform