使用VB6.0编写程序,将任意一个m*n矩阵中辅对角线上的元素,按升序输出
来源:百度知道 编辑:UC知道 时间:2024/05/28 16:01:08
注上说明
Private Sub cmdConnect_Click()
If Len(Text1.Text) = 0 And Len(Text2.Text) = 0 Then
MsgBox ("请输入主机名或主机IP地址。")
Exit Sub
Else
If Len(Text1.Text) > 0 Then
tcpClient.RemoteHost = Text1.Text
Else
tcpClient.RemoteHost = Text2.Text
End If
End If
tcpClient.Connect
Timer1.Enabled = True
End Sub