Connect to remote computer using code

Posted by Karthikanbarasan under VB.NET category on | Points: 40 | Views : 4960
Sub LoadDefaultValues()

txtServerIP.Text = "Specify the IP"
txtUserName.Text = "Specify the USer name"
txtDomain.Text = "Specify the Domain Name"

End Sub

Private Sub btnConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConnect.Click

AxMsTscAxNotSafeForScripting1.Server = txtServerIP.Text.ToString()
AxMsTscAxNotSafeForScripting1.Domain = txtDomain.Text.ToString()
AxMsTscAxNotSafeForScripting1.UserName = txtUserName.Text.ToString()

End Sub

Comments or Responses

Login to post response