Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine A User's Full Name
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00577470
Message ID:
00578061
Views:
45
>Larry,
>
>When I hit that line of code, I got the error:
>
>"Moniker cannot open file"
>
>K

I forgot. Don't concatenate inside in GetObject. Build a string variable and use it instead.

lcADsPath = 'WinNT://'+alltrim(cDomain)+',domain'
lodomain = GetObject(lcADsPath)

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform