Click here to Skip to main content
15,887,776 members
Posted
Updated 29-Aug-14 23:36pm
v2
Comments
[no name] 30-Aug-14 6:01am    
http://msdn.microsoft.com/en-us/library/aa383541(v=vs.85).aspx
kbrandwijk 30-Aug-14 9:36am    
From the code snippets in the provided link, it's clear that 'server' can be a server name or ip address, 'user name' is the username to logon to the server and 'password' is the cleartext password for the username.
Engineer khalid 31-Aug-14 3:52am    
Dear Kbrandwijk you moved me closer to the answer,this subject is quit very new to me ,as far as i understod, the server is the ip address which i can have from the remote computer,the name is any name i guess ! ,but the passward is still mestory to me
could it be any passward but it must be same at my computer and at the remot desktop ?

another thing is this code where should i write it ? may be in FormLoad or where
MSTSCLib.IMsTscNonScriptable secured = (IMsTscNonScriptable)rdp.GetOcx();
secured.ClearTextPassword = txtPassword.Text;

please provide me with an example in detail many thanks

1 solution

When in doubt or you have questions regarding CodeProject articles use the forum at the end or the article's page which will connect you directly to the author and will provide much better help than this general forum here.
 
Share this answer
 
Comments
Engineer khalid 31-Aug-14 3:41am    
To Mehdi Gholam i have read all the question or discusion at the end of that article,but could not find the answer that i and the members wants ,the article lead to several errors which i have solved and many member request explanation from the auther,but that is not all the auther post his article in another site which i think it belong to him and he seems he refused to reveal the answer
Mehdi Gholam 31-Aug-14 7:42am    
Try asking your question there in a new thread.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900