发表于:2006/2/23 10:07:00
#0楼
发送二进制数据,必须传递一个包含字节数组的 Variant 到 Output 属性。这句话怎么理解??
Dim Buffer(5) as integer
Buffer(0) = 210
Buffer(1) = 150
Buffer(2) = 68
Buffer(3) = 56
MSComm1.Output = Buffer
这样在发送时就会出现错误,怎么解决?多谢指教!!
Dim Buffer(5) as integer
Buffer(0) = 210
Buffer(1) = 150
Buffer(2) = 68
Buffer(3) = 56
MSComm1.Output = Buffer
这样在发送时就会出现错误,怎么解决?多谢指教!!