I'm using VB6 and I have successfully used MSComm to communicate with a scale. Now I want connect 5 scales and use the ONCOM event for each of them.
I did some searching here and I did find a reference to the MSComm1.index property and setting it to 0. Every time I do so, I get an error at run time - "Wrong number of arguments or invalid property assignment." In addition, I'm not sure how to proceed even if it didn't generate an error.
Any suggestions?
I did some searching here and I did find a reference to the MSComm1.index property and setting it to 0. Every time I do so, I get an error at run time - "Wrong number of arguments or invalid property assignment." In addition, I'm not sure how to proceed even if it didn't generate an error.
Any suggestions?