>So, with the smallest GUID approach, I don't need to use the API, right?Right, you don't have to use API.
>
>I tried it and in order to get the proper string that I need, I have to do this:
>
>>oGUID = CreateObject("scriptlet.typelib")
>? '{'+Strextract(oGUID.GUID, "{", "}" )+'}'
>
>
>as the base value is having two weird characters at the end.Or shorter
? Strextract(oGUID.GUID, "", CHR(0))
--sb--