Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active Directory User Names
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01669941
Message ID:
01670004
Vues:
51
Hi,

I am testing a line of code that Mike Gagnon shared with me.
objRootLDAP = Getobject("LDAP://RootDSE")
On the line above (when executing in VFP 9 Command window), I get error:
OLE Error code 0x800401ea: Moniker cannot open file
Do I get the above error because I don't have the AD? And does it mean that if I were running this line on the network with AD, the variable objRootLDAP would be instantiated?

UPDATE: I did a test on a customer PC and no error. So, clearly the problem is that I don't have AD
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform