Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To implement a conection with a terminal server.
Message
 
To
18/05/2004 10:38:30
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00904932
Message ID:
00905043
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform