vb运行时错误380,无效属性值
我的程序是这样写的PrivateSubCommand1_Click()DimaAsBytea=&H6MSComm1.Output=aEndSubPrivateSubFor...
我的程序是这样写的
Private Sub Command1_Click()
Dim a As Byte
a = &H6
MSComm1.Output = a
End Sub
Private Sub Form_Load()
MSComm1.CommPort = 1
MSComm1.PortOpen = True
MSComm1.Settings = "9600,N,8,1"
MSComm1.InputMode = 1
MSComm1.InBufferCount = 0
MSComm1.RThreshold = 1
End Sub
谢谢 展开
Private Sub Command1_Click()
Dim a As Byte
a = &H6
MSComm1.Output = a
End Sub
Private Sub Form_Load()
MSComm1.CommPort = 1
MSComm1.PortOpen = True
MSComm1.Settings = "9600,N,8,1"
MSComm1.InputMode = 1
MSComm1.InBufferCount = 0
MSComm1.RThreshold = 1
End Sub
谢谢 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询