I'm working on creating an Custom Remote Desktop Client but cannot figure out how to transfer a password that is provided in a text box to the target computer.
My code is below, is there an option to be able to do this? It works fine as far as connecting and all but I would like the option to be able to transfer the password and click the OK button for the Legal notice automatically so the end user just puts in their information and hits connect and it will login to the remote computer.
My code is below, is there an option to be able to do this? It works fine as far as connecting and all but I would like the option to be able to transfer the password and click the OK button for the Legal notice automatically so the end user just puts in their information and hits connect and it will login to the remote computer.
Code:
Private Sub cmdConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdConnect.Click
AxMsTscAxNotSafeForScripting1.Server = txtServer.Text
AxMsTscAxNotSafeForScripting1.UserName = txtuname.Text
AxMsTscAxNotSafeForScripting1.Height = Height
AxMsTscAxNotSafeForScripting1.Width = Width
Me.Height = AxMsTscAxNotSafeForScripting1.Height + 30
Me.Width = AxMsTscAxNotSafeForScripting1.Width + 30
AxMsTscAxNotSafeForScripting1.Connect()
End Sub