Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADSI Objects
Message
 
 
To
29/03/2001 14:02:04
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00488611
Message ID:
00490026
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform