>You don't need to assign a fixed data type in VFP - when you issue the CREATEOBJ() for the ADSI component, VFP will configure an object variable, which will expose the public properties and methods of the object.
CREATEOBJECT() doesn't work for getting a handle on ADSI objects, because their handles aren't ProgIDs, but take the Interface://Resource syntax. IOW, the WinNT, or LDAP or IIS providers don't directly support (is it IDispatch?) the interface needed for a CREATEOBJECT...
Erik Moore
Clientelligence