TrickyRick
Programmer
Trying to communicate with a Credit card Machine using Com Port 1
Installed MSComm32.ocx in a Form No Problem
Need to send a string with STX ETX and a LRC Character
the data part is "10001^1^10002^1^10007^99^10022^65613^"
I have added a STX, ETX and CR LF and the LRC character which I think should be 7
so my entire string is TheStr = = CHR(2)+"10001^1^10002^1^10007^99^10022^65613^"+CHR(13)+CHR(10)+CHR(3)+CHR(55)
Doesn't work Anybody have any Ideas
Installed MSComm32.ocx in a Form No Problem
Need to send a string with STX ETX and a LRC Character
the data part is "10001^1^10002^1^10007^99^10022^65613^"
I have added a STX, ETX and CR LF and the LRC character which I think should be 7
so my entire string is TheStr = = CHR(2)+"10001^1^10002^1^10007^99^10022^65613^"+CHR(13)+CHR(10)+CHR(3)+CHR(55)
Doesn't work Anybody have any Ideas