Home > Software engineering >  A vb serial communication problems
A vb serial communication problems

Time:10-25

Like me to send data
 MSComm1 (ComputeRelaysPort (Num)). The Output=SendBuff 'request 



Under normal circumstances can be used, but closing the complains, error is: the serial port open to operate,
Tested the following:
 dim as a integer 
A=1
A=2
MSComm1 (ComputeRelaysPort (Num)). The Output=SendBuff 'request
A=3

Close the program error after commissioning, a value of always stay for 2, is that the program is executing a serial port to send,


Everybody to help me take a look at how to solve this problem,

CodePudding user response:

http://download.csdn.net/detail/veron_04/1777027
  • Related