>obj = createobjectEX("{2E341S03-11FC-4760-8E9D-CFCBE1655F13}", ,"\\MYSERVERNAME")
>
>obj=createobjectEX("GetServerDateTime.cSQLDT", ,"\\MYSERVERNAME")
>
>or name your server by IP Address:
>
>obj = createobjectEX("GetServerDateTime.cSQLDT", "192.168.0.3")
>
>Also probable reason of "RPC server is unavailable" message is wrong server name specified.
Sorry, it was a typo, there should be just one comma in parameters:
obj=createobjectEX("GetServerDateTime.cSQLDT","\\MYSERVERNAME")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison