|
![](/i/fill.gif) |
> set trans = CreateObject("NameTranslate")
> trans.Init 3, ""
> trans.Set 3, "domain\user"
> set name = trans.Get(1)
> WScript.Echo name
>
> Only trouble is... it doesn't work. I've tried rephrasing the code every
> way I can think of, but still all I get is "error 800A01A8 on line 4".
> Absolutely nothing I do will make this god-damned error go away so that I
> can get to the actual data I want.
Try removing the "set" at the beginning of line 4. IIRC set is only used to
assign a reference of an object to your variable, not a value.
Post a reply to this message
|
![](/i/fill.gif) |