|
![](/i/fill.gif) |
And lo On Wed, 28 Apr 2010 15:49:14 +0200, Invisible <voi### [at] dev null> did
spake thusly:
> Invisible wrote:
>
>> 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.
>
> Oh my god.
>
> Apparently you have to delete the word "set" on line 4. And then it
> works perfectly. WTF?
and don't forget good practice in trans = nothing when you've finished
with it ;-)
--
Phil Cook
--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com
Post a reply to this message
|
![](/i/fill.gif) |