I do not see any results... but I do see the lotsac object in the debugger. Be aware that if you are doing this in a program, and the program finishes, you will not see the object because it will no longer be available. Either do this from the command line, or put a suspend in your program.
>Hi all !!
>
>I am trying to implement a conection with a terminal server.
>I use the follow code:
>
>loTSAC = CREATEOBJECT("mstscax.mstscax.2")
>loNS = GETINTERFACE(loTSAC, "IMsTscNonScriptable")
>
>loTSAC.Server = '200.201.111.01'
>loTSAC.Domain = 'mydomain'
>loTsac.UserName = 'lazaro'
>
>loNS.ClearTextPassword = 'atx913'
>
>loTSAC.connect
>
>But nothing happen . If i to run "? loTSAC.connect", it return for me ".Null."
>Someone would help me ?
>
>Thanks.
>
>Lázaro Santos.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown