摘要: Imports SystemImports System.IO.PortsPublic Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load '获取计算机有效串口 Dim ports As String() = SerialPort.GetPortNames() '必须用命名空间,用SerialPort,获取计算机的有效串口 Dim port As String For Each port In port 阅读全文
posted @ 2011-08-09 16:38 爱测试的猫咪 阅读(35397) 评论(9) 推荐(4) 编辑