Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADSI Objects
Message
 
 
À
29/03/2001 14:02:04
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00488611
Message ID:
00490026
Vues:
20
>I am using VFP 7. I'm not sure how to specify the interface, but I tried oUser = GetObject("WinNT://Nordam/sketchum,user","IADsUser") and got an error. If I don't specify the second parameter (which is what I was doing before), it works fine (except that I can't get to the properties I need).

You need to take a look at GetInterface(), which allows you to get an early binding interface from a COM object. However, it's not necessary in this case. Just use GetObject() as in the example I posted. But, as Larry pointed out, the provider appears to not support what you're wanting to do. You might want to try going through the LDAP provider.
Mike Stewart
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform