If you want to pass a string literal, enclose it into string delimiters
CREATEOBJECT("OLXlib.ViewCtl")
>OLXlib appears in VFP object browser
>
>But if I try: myteste = CREATEOBJECT(OLXlib.ViewCtl)
>
>It returns
>
>" alias OLXlib is not found"
>
>The file is located in:
>
>File: c:\arquiv~1\micros~4\office10\outlctl.dll
--sb--