Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB for FoxHeads Reference
Message
From
31/01/2000 14:36:41
 
 
To
31/01/2000 14:00:48
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00325083
Message ID:
00325214
Views:
28
>Did you ever work with the Filter aspect? I posted a question here last week about trying to work with COMARRAY and ADSI to get Filter to work, and got no replies.

Sorry, I didn't see your post last week. I ran into the same thing you did with the filter property, but attributed my difficulty to my ignorance with regard to how to emulate VB's ARRAY() function. I would be willing to bet that you could still get it to work by manually constructing a string whose structure is the same as a VB array (ala structure construction in VFP).

I never regarded this as a problem, however, I just handled it with conditional processing:
FOR EACH oItem IN oComputer
	IF UPPER(oItem.Class) = "USER"
		?oUser.Name
	ENDIF
ENDFOR
I'm sure you arrived at a similar workaround...

For any VB guys out there- any clue as to what the ARRAY() function really does? Can we do it in VFP?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform