Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pass a Variant?
Message
De
21/10/2003 11:21:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How do I pass a Variant?
Divers
Thread ID:
00840682
Message ID:
00840682
Vues:
50
I'm helping someone automate user login creation, and they want to add new members to an existing group.

The PutEx() function I need to call is defined as:
Method PutEx(lnControlCode As Long, bstrName As String, vProp As Variant) As Void

The example code gives vProp as [Array("cn=userid1, dc=domain, dc=com", "cn=userid2, dc=domain, dc=com)] to add userid1 and userid2 to previously selected group.

Various attempts to pass vProp with the string "Array" included have failed with OLE IDispatch exception code 0 from Active Directory: Unspecified Error.

How can I pass it what it is expecting from FoxPro?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform