>>No. You need to create an ADSI moniker string. One part of the string is the class specification. Example:
>>lcdom = 'WinNT://MyDomain,domain'
>>oGroup = getobject(lcdom)
>>The top example bypasses the variable assignment.
>
>Thanks.
>Doesn't work for me :(
>
>OLE error code 0x800401ea: Moniker cannot open file.
>
>-josh
On a Win2K machine, it should work. What is the exact code you are using to retrieve an object reference to the domain? What is the domain's name? Do you have a domain or are you using peer-peer networking?
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao