Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADSI and the Filter property
Message
De
17/01/2003 08:01:33
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00741601
Message ID:
00742813
Vues:
25
Ohhhh, wait a sec... the class is user. Humm...

Sorry for the false hope Steve.

- Brian


>>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.


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform