Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADSI and the Filter property
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00741601
Message ID:
00742611
Views:
20
>Hi Steve,
>
>As someone (UPDATE: Zlatin Zlatev) showed me earlier when I was working with IIS, you need to change the way the array is passed with COMARRAY( ):
>
>
>
>DIMENSION laFilter[1]
>laFilter[1] = 'computer'
>oDomain = GetObject('WinNT://MyDomain')
>
>COMARRAY(oDomain, 10)
>
>oDomain.Filter = laFilter
>FOR EACH oItem IN oDomain
>   ? oItem.Name, oItem.Class
>ENDFOR
>
>

Brian,
Does this actually work for you? In my experience, VFP can not natively pass SafeArrays to the Filter property.
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